using System;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Globalization;
using System.IO;
using System.Windows.Forms;
using ODT.Common.Core;
using ODT.Common.Services;
using ODT.PMACGlobal;
using PPChartControl.Properties;
using ZedGraph;

namespace PPChartControl
{
	public class FormProperty : Form
	{
		private PPChartControl pp;

		private ArrayList colorArray = new ArrayList();

		private CultureInfo enUSCulture = new CultureInfo("en-US");

		private NumberFormatInfo numFormatGlobal;

		private string previousValue = string.Empty;

		private string CFGINI = string.Empty;

		private bool istuneplot;

		private string countsText;

		private string dataInputText;

		private string invalidInputText;

		private string yearText;

		private string monthText;

		private string dayText;

		private string hourText;

		private string minuteText;

		private string secondText;

		private string millisecondText;

		private IContainer components;

		private TabControl tabControl1;

		private TabPage tabPage_Chart;

		private TabPage tabPage_Series;

		private GroupBox groupBox1;

		public TextBox textBox_ChartTitle;

		private Button button_OK;

		private Button button_Cancel;

		private Button button_Apply;

		private CheckBox checkBox_ChartTitle;

		private Button button_TitleFont;

		private System.Windows.Forms.Label label1;

		private FontDialog fontDialog1;

		private Button button_TitleColor;

		private System.Windows.Forms.Label label2;

		private ColorDialog colorDialog1;

		private TextBox textBox_TitleFont;

		private TabPage tabPage_Axis;

		private ComboBox comboBox_SerialList;

		private TextBox textBox_TitleColor;

		private TextBox textBox5;

		private Button button4;

		private TextBox textBox6;

		private Button button5;

		private System.Windows.Forms.Label label9;

		private System.Windows.Forms.Label label10;

		private ComboBox comboBox2;

		private System.Windows.Forms.Label label11;

		private CheckBox checkBox2;

		private System.Windows.Forms.Label label12;

		private System.Windows.Forms.Label label13;

		private TextBox textBox7;

		private System.Windows.Forms.Label label14;

		private ComboBox comboBox3;

		private TextBox textBox8;

		private Button button6;

		private TextBox textBox9;

		private Button button7;

		private System.Windows.Forms.Label label15;

		private System.Windows.Forms.Label label16;

		private ComboBox comboBox4;

		private System.Windows.Forms.Label label17;

		private CheckBox checkBox3;

		private System.Windows.Forms.Label label18;

		private System.Windows.Forms.Label label19;

		private TextBox textBox10;

		private System.Windows.Forms.Label label20;

		private ComboBox comboBox5;

		private TabControl tabControl2;

		private TabPage tabPage1;

		private CheckBox checkBox_ShowAxis;

		private TextBox textBox_AxisTitleColor;

		private Button button_AxisTitleColor;

		private System.Windows.Forms.Label label22;

		private TextBox textBox_AxisTitleFont;

		private Button button_AxisTitleFont;

		private System.Windows.Forms.Label label21;

		private System.Windows.Forms.Label label4;

		private TextBox textBox_AxisTitle;

		private System.Windows.Forms.Label label3;

		private ComboBox comboBox_AxisList;

		private TabPage tabPage2;

		private TabPage tabPage4;

		private System.Windows.Forms.Label label26;

		private System.Windows.Forms.Label label25;

		private System.Windows.Forms.Label label24;

		private TextBox textBox_ScaleUnit;

		private System.Windows.Forms.Label label23;

		private TextBox textBox_ScaleMaximum;

		private System.Windows.Forms.Label label_AxisScale;

		private System.Windows.Forms.Label label8;

		private TextBox textBox_ScaleMinimum;

		private GroupBox groupBox2;

		private NumericUpDown numericUpDown_GridLineMajorWidth;

		private System.Windows.Forms.Label label7;

		private TextBox textBox_GridLineMajorColor;

		private Button button_GridLineMajorColor;

		private System.Windows.Forms.Label label6;

		private GroupBox groupBox3;

		private NumericUpDown numericUpDown_GridLineMinorWidth;

		private System.Windows.Forms.Label label5;

		private TextBox textBox_GridLineMinorColor;

		private Button button_GridLineMinorColor;

		private System.Windows.Forms.Label label29;

		private System.Windows.Forms.Label label30;

		private ComboBox comboBox_ScaleFormat;

		private CheckBox checkBox_ShowSeries;

		private TextBox textBox_SeriesColor;

		private Button button_SeriesColor;

		private System.Windows.Forms.Label label31;

		private ToolTip propertyToolTip;

		private CheckBox checkBox_ShowMinorGridLine;

		private CheckBox checkBox_ShowMajorGridLine;

		private System.Windows.Forms.Label label28;

		private TextBox textBox_MinorUnit;

		private System.Windows.Forms.Label label27;

		private TextBox textBox_MajorUnit;

		private System.Windows.Forms.Label label32;

		private Panel panel2;

		private Panel panel1;

		private Panel panel3;

		private RadioButton radioButton2;

		private RadioButton radioButton1;

		private TextBox decimals;

		private CheckBox checkBox_ScaleLogarithmic;

		private System.Windows.Forms.Label unitFormat;

		private ComboBox cmbXDisplayType;

		private System.Windows.Forms.Label label33;

		private ComboBox comboBox_SymbolList;

		public FormProperty()
		{
			InitializeComponent();
			base.Icon = Resources.ApplicationIcon;
			base.ShowIcon = true;
			SetLanguageTranslations();
		}

		public FormProperty(bool IsTune)
		{
			InitializeComponent();
			base.Icon = Resources.ApplicationIcon;
			base.ShowIcon = true;
			SetLanguageTranslations();
			istuneplot = IsTune;
		}

		private void FormProperty_Load(object sender, EventArgs e)
		{
			numFormatGlobal = new NumberFormatInfo();
			numFormatGlobal.NumberDecimalDigits = 4;
			pp = (PPChartControl)base.Tag;
			CFGINI = GetINIFile();
			checkBox_ChartTitle.Checked = pp.zg1.GraphPane.Title.IsVisible;
			colorArray.Add(new SolidBrush(Color.Yellow));
			colorArray.Add(new SolidBrush(Color.Black));
			colorArray.Add(new SolidBrush(Color.Azure));
			colorArray.Add(new SolidBrush(Color.Firebrick));
			colorArray.Add(new SolidBrush(Color.DarkMagenta));
			Color fontColor = pp.zg1.GraphPane.Title.FontSpec.FontColor;
			foreach (LineItem curve in pp.zg1.GraphPane.CurveList)
			{
				comboBox_SerialList.Items.Add(curve.Label.Text);
				bool isY2Axis = curve.IsY2Axis;
			}
			if (pp.zg1.GraphPane.CurveList.Count > 0)
			{
				comboBox_SerialList.SelectedIndex = 0;
				CurveList curveList = pp.zg1.GraphPane.CurveList;
				checkBox_ShowSeries.Checked = curveList[0].IsVisible;
				comboBox_SymbolList.SelectedValue = ((LineItem)curveList[comboBox_SerialList.SelectedIndex]).Symbol.Type;
			}
			comboBox_AxisList.Items.Add("XAxis");
			comboBox_AxisList.Items.Add("YAxis");
			comboBox_AxisList.Items.Add("Y2Axis");
			comboBox_AxisList.SelectedIndex = 0;
			checkBox_ShowAxis.Checked = pp.zg1.GraphPane.XAxis.IsVisible;
			checkBox_ShowMajorGridLine.Checked = pp.zg1.GraphPane.XAxis.MajorGrid.IsVisible;
			checkBox_ShowMinorGridLine.Checked = pp.zg1.GraphPane.XAxis.MinorGrid.IsVisible;
			label_AxisScale.Text = comboBox_AxisList.SelectedItem.ToString();
			pp.zg1.GraphPane.XAxis.Scale.MajorUnit = DateUnit.Millisecond;
			textBox_ScaleUnit.Text = GetScaleTypeDescription(pp.zg1.GraphPane.XAxis.Scale.MajorUnit);
			comboBox_ScaleFormat.SelectedValue = pp.zg1.GraphPane.XAxis.Type;
			checkBox_ScaleLogarithmic.Checked = pp.zg1.GraphPane.XAxis.Scale.IsLog;
			numericUpDown_GridLineMajorWidth.Value = (decimal)pp.zg1.GraphPane.XAxis.MajorGrid.PenWidth;
			numericUpDown_GridLineMinorWidth.Value = (decimal)pp.zg1.GraphPane.XAxis.MinorGrid.PenWidth;
			RestoreSettings(CFGINI);
		}

		public void button_Apply_Click(object sender, EventArgs e)
		{
			pp.zg1.GraphPane.Title.Text = textBox_ChartTitle.Text;
			pp.zg1.GraphPane.Title.IsVisible = checkBox_ChartTitle.Checked;
			CurveList curveList = pp.zg1.GraphPane.CurveList;
			if (radioButton1.Checked)
			{
				pp.SetChartColor(SystemColors.ControlText, Color.White);
				if (textBox_TitleColor.BackColor == Color.Black || textBox_TitleColor.BackColor == SystemColors.ControlText)
				{
					textBox_TitleColor.BackColor = Color.White;
				}
			}
			if (radioButton2.Checked)
			{
				pp.SetChartColor(Color.White, SystemColors.ControlText);
				if (textBox_TitleColor.BackColor == Color.White)
				{
					textBox_TitleColor.BackColor = SystemColors.ControlText;
				}
			}
			if (curveList.Count > 0)
			{
				curveList[comboBox_SerialList.SelectedIndex].Color = textBox_SeriesColor.BackColor;
				curveList[comboBox_SerialList.SelectedIndex].IsVisible = checkBox_ShowSeries.Checked;
				curveList[comboBox_SerialList.SelectedIndex].Label.IsVisible = checkBox_ShowSeries.Checked;
				((LineItem)curveList[comboBox_SerialList.SelectedIndex]).Symbol.Type = (SymbolType)comboBox_SymbolList.SelectedValue;
			}
			if (comboBox_AxisList.SelectedIndex == 0)
			{
				pp.zg1.GraphPane.XAxis.IsVisible = checkBox_ShowAxis.Checked;
				pp.zg1.GraphPane.XAxis.Title.Text = textBox_AxisTitle.Text;
				if (radioButton1.Checked && (textBox_AxisTitleColor.BackColor == SystemColors.ControlText || textBox_AxisTitleColor.BackColor == Color.Black))
				{
					textBox_AxisTitleColor.BackColor = Color.White;
				}
				else if (radioButton2.Checked && textBox_AxisTitleColor.BackColor == Color.White)
				{
					textBox_AxisTitleColor.BackColor = SystemColors.ControlText;
				}
				pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor = textBox_AxisTitleColor.BackColor;
				pp.zg1.GraphPane.XAxis.MajorGrid.IsVisible = checkBox_ShowMajorGridLine.Checked;
				pp.zg1.GraphPane.XAxis.MinorGrid.IsVisible = checkBox_ShowMinorGridLine.Checked;
				pp.zg1.GraphPane.XAxis.Scale.Min = Convert.ToDouble(textBox_ScaleMinimum.Text, enUSCulture);
				pp.zg1.GraphPane.XAxis.Scale.Max = Convert.ToDouble(textBox_ScaleMaximum.Text, enUSCulture);
				pp.zg1.GraphPane.XAxis.Scale.MajorUnit = DateUnit.Millisecond;
				pp.zg1.GraphPane.XAxis.Scale.MajorStep = (float)Convert.ToDouble(textBox_MajorUnit.Text, enUSCulture);
				pp.zg1.GraphPane.XAxis.Scale.MinorStep = (float)Convert.ToDouble(textBox_MinorUnit.Text, enUSCulture);
				pp.zg1.GraphPane.XAxis.Type = (ZedGraph.AxisType)comboBox_ScaleFormat.SelectedValue;
				pp.zg1.GraphPane.XAxis.Scale.Format = "f" + decimals.Text.ToString();
				if (radioButton2.Checked && textBox_GridLineMajorColor.BackColor == Color.White)
				{
					textBox_GridLineMajorColor.BackColor = Color.Black;
				}
				else if (radioButton1.Checked && textBox_GridLineMajorColor.BackColor == Color.Black)
				{
					textBox_GridLineMajorColor.BackColor = Color.White;
				}
				pp.zg1.GraphPane.XAxis.MajorGrid.Color = textBox_GridLineMajorColor.BackColor;
				pp.zg1.GraphPane.XAxis.MajorGrid.PenWidth = (float)numericUpDown_GridLineMajorWidth.Value;
				pp.zg1.GraphPane.XAxis.MinorGrid.Color = textBox_GridLineMinorColor.BackColor;
				pp.zg1.GraphPane.XAxis.MinorGrid.PenWidth = (float)numericUpDown_GridLineMinorWidth.Value;
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				pp.zg1.GraphPane.YAxis.IsVisible = checkBox_ShowAxis.Checked;
				pp.zg1.GraphPane.YAxis.Title.Text = textBox_AxisTitle.Text;
				if (radioButton1.Checked && (textBox_AxisTitleColor.BackColor == SystemColors.ControlText || textBox_AxisTitleColor.BackColor == Color.Black))
				{
					textBox_AxisTitleColor.BackColor = Color.White;
				}
				else if (radioButton2.Checked && textBox_AxisTitleColor.BackColor == Color.White)
				{
					textBox_AxisTitleColor.BackColor = SystemColors.ControlText;
				}
				pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor = textBox_AxisTitleColor.BackColor;
				pp.zg1.GraphPane.YAxis.MajorGrid.IsVisible = checkBox_ShowMajorGridLine.Checked;
				pp.zg1.GraphPane.YAxis.MinorGrid.IsVisible = checkBox_ShowMinorGridLine.Checked;
				if (string.IsNullOrEmpty(pp.zg1.GraphPane.Y2Axis.Title.Text))
				{
					pp.zg1.GraphPane.Y2Axis.Scale.Min = Convert.ToDouble(textBox_ScaleMinimum.Text, enUSCulture);
					pp.zg1.GraphPane.Y2Axis.Scale.Max = Convert.ToDouble(textBox_ScaleMaximum.Text, enUSCulture);
					pp.zg1.GraphPane.Y2Axis.Scale.MajorStep = (float)Convert.ToDouble(textBox_MajorUnit.Text, enUSCulture);
					pp.zg1.GraphPane.Y2Axis.Scale.MinorStep = (float)Convert.ToDouble(textBox_MinorUnit.Text, enUSCulture);
					pp.zg1.GraphPane.Y2Axis.Scale.MajorUnit = DateUnit.Millisecond;
					pp.zg1.GraphPane.Y2Axis.Scale.Format = "f" + decimals.Text.ToString();
				}
				pp.zg1.GraphPane.YAxis.Scale.Min = Convert.ToDouble(textBox_ScaleMinimum.Text, enUSCulture);
				pp.zg1.GraphPane.YAxis.Scale.Max = Convert.ToDouble(textBox_ScaleMaximum.Text, enUSCulture);
				pp.zg1.GraphPane.YAxis.Scale.MajorStep = (float)Convert.ToDouble(textBox_MajorUnit.Text, enUSCulture);
				pp.zg1.GraphPane.YAxis.Scale.MinorStep = (float)Convert.ToDouble(textBox_MinorUnit.Text, enUSCulture);
				pp.zg1.GraphPane.YAxis.Scale.MajorUnit = DateUnit.Millisecond;
				pp.zg1.GraphPane.YAxis.Scale.Format = "f" + decimals.Text.ToString();
				if (radioButton2.Checked && textBox_GridLineMajorColor.BackColor == Color.White)
				{
					textBox_GridLineMajorColor.BackColor = Color.Black;
				}
				else if (radioButton1.Checked && textBox_GridLineMajorColor.BackColor == Color.Black)
				{
					textBox_GridLineMajorColor.BackColor = Color.White;
				}
				pp.zg1.GraphPane.YAxis.MajorGrid.Color = textBox_GridLineMajorColor.BackColor;
				pp.zg1.GraphPane.YAxis.MajorGrid.PenWidth = (float)numericUpDown_GridLineMajorWidth.Value;
				pp.zg1.GraphPane.YAxis.MinorGrid.Color = textBox_GridLineMinorColor.BackColor;
				pp.zg1.GraphPane.YAxis.MinorGrid.PenWidth = (float)numericUpDown_GridLineMinorWidth.Value;
			}
			else if (comboBox_AxisList.SelectedIndex == 2)
			{
				pp.zg1.GraphPane.Y2Axis.IsVisible = checkBox_ShowAxis.Checked;
				pp.zg1.GraphPane.Y2Axis.Title.Text = textBox_AxisTitle.Text;
				if (radioButton1.Checked && (textBox_AxisTitleColor.BackColor == SystemColors.ControlText || textBox_AxisTitleColor.BackColor == Color.Black))
				{
					textBox_AxisTitleColor.BackColor = Color.White;
				}
				else if (radioButton2.Checked && textBox_AxisTitleColor.BackColor == Color.White)
				{
					textBox_AxisTitleColor.BackColor = SystemColors.ControlText;
				}
				pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor = textBox_AxisTitleColor.BackColor;
				pp.zg1.GraphPane.Y2Axis.MajorGrid.IsVisible = checkBox_ShowMajorGridLine.Checked;
				pp.zg1.GraphPane.Y2Axis.MinorGrid.IsVisible = checkBox_ShowMinorGridLine.Checked;
				if (string.IsNullOrEmpty(pp.zg1.GraphPane.YAxis.Title.Text))
				{
					pp.zg1.GraphPane.YAxis.Scale.Min = Convert.ToDouble(textBox_ScaleMinimum.Text, enUSCulture);
					pp.zg1.GraphPane.YAxis.Scale.Max = Convert.ToDouble(textBox_ScaleMaximum.Text, enUSCulture);
					pp.zg1.GraphPane.YAxis.Scale.MajorStep = (float)Convert.ToDouble(textBox_MajorUnit.Text, enUSCulture);
					pp.zg1.GraphPane.YAxis.Scale.MinorStep = (float)Convert.ToDouble(textBox_MinorUnit.Text, enUSCulture);
					pp.zg1.GraphPane.YAxis.Scale.MajorUnit = DateUnit.Millisecond;
					pp.zg1.GraphPane.YAxis.Scale.Format = "f" + decimals.Text.ToString();
				}
				pp.zg1.GraphPane.Y2Axis.Scale.Min = Convert.ToDouble(textBox_ScaleMinimum.Text, enUSCulture);
				pp.zg1.GraphPane.Y2Axis.Scale.Max = Convert.ToDouble(textBox_ScaleMaximum.Text, enUSCulture);
				pp.zg1.GraphPane.Y2Axis.Scale.MajorStep = (float)Convert.ToDouble(textBox_MajorUnit.Text, enUSCulture);
				pp.zg1.GraphPane.Y2Axis.Scale.MinorStep = (float)Convert.ToDouble(textBox_MinorUnit.Text, enUSCulture);
				pp.zg1.GraphPane.Y2Axis.Scale.MajorUnit = DateUnit.Millisecond;
				pp.zg1.GraphPane.Y2Axis.Scale.Format = "f" + decimals.Text.ToString();
				if (radioButton2.Checked && textBox_GridLineMajorColor.BackColor == Color.White)
				{
					textBox_GridLineMajorColor.BackColor = Color.Black;
				}
				else if (radioButton1.Checked && textBox_GridLineMajorColor.BackColor == Color.Black)
				{
					textBox_GridLineMajorColor.BackColor = Color.White;
				}
				pp.zg1.GraphPane.Y2Axis.MajorGrid.Color = textBox_GridLineMajorColor.BackColor;
				pp.zg1.GraphPane.Y2Axis.MajorGrid.PenWidth = (float)numericUpDown_GridLineMajorWidth.Value;
				pp.zg1.GraphPane.Y2Axis.MinorGrid.Color = textBox_GridLineMinorColor.BackColor;
				pp.zg1.GraphPane.Y2Axis.MinorGrid.PenWidth = (float)numericUpDown_GridLineMinorWidth.Value;
			}
			pp.zg1.AxisChange();
			pp.zg1.Invalidate();
		}

		private void button_OK_Click(object sender, EventArgs e)
		{
			button_Apply_Click(sender, e);
			SaveToINI(CFGINI);
		}

		private void button_TitleFont_Click(object sender, EventArgs e)
		{
			fontDialog1.ShowColor = false;
			fontDialog1.ShowEffects = true;
			fontDialog1.ScriptsOnly = false;
			fontDialog1.Color = pp.zg1.GraphPane.Title.FontSpec.FontColor;
			if (fontDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
			{
				pp.zg1.GraphPane.Title.FontSpec.Size = fontDialog1.Font.Size;
				pp.zg1.GraphPane.Title.FontSpec.FontColor = fontDialog1.Color;
				pp.zg1.GraphPane.Title.FontSpec.Family = fontDialog1.Font.FontFamily.Name.ToString();
				pp.zg1.GraphPane.Title.FontSpec.IsBold = fontDialog1.Font.Bold;
				pp.zg1.GraphPane.Title.FontSpec.IsItalic = fontDialog1.Font.Italic;
				pp.zg1.GraphPane.Title.FontSpec.IsUnderline = fontDialog1.Font.Underline;
				textBox_AxisTitleFont.Text = pp.zg1.GraphPane.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.Title.FontSpec.Size + "pt";
				pp.zg1.Invalidate();
			}
		}

		private void button_TitleColor_Click(object sender, EventArgs e)
		{
			colorDialog1.Color = pp.zg1.GraphPane.Title.FontSpec.FontColor;
			if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
			{
				pp.zg1.GraphPane.Title.FontSpec.FontColor = colorDialog1.Color;
				textBox_TitleColor.BackColor = pp.zg1.GraphPane.Title.FontSpec.FontColor;
				pp.zg1.Invalidate();
			}
		}

		private void comboBox_TitleForeColor_DrawItem(object sender, DrawItemEventArgs e)
		{
			Graphics graphics = e.Graphics;
			Rectangle bounds = e.Bounds;
			if (e.Index >= 0)
			{
				Rectangle rect = bounds;
				rect.Width = 100;
				SolidBrush solidBrush = (SolidBrush)colorArray[e.Index];
				graphics.FillRectangle(solidBrush, rect);
				StringFormat stringFormat = new StringFormat();
				stringFormat.Alignment = StringAlignment.Near;
				Console.WriteLine(e.State.ToString());
				e.Graphics.DrawRectangle(new Pen(new SolidBrush(Color.Black), 2f), bounds);
				if (e.State == (DrawItemState.NoAccelerator | DrawItemState.NoFocusRect))
				{
					e.Graphics.FillRectangle(new SolidBrush(Color.White), bounds);
					e.Graphics.DrawString(solidBrush.Color.Name, new Font("Ariel", 8f, FontStyle.Bold), new SolidBrush(Color.Black), bounds, stringFormat);
					e.DrawFocusRectangle();
				}
				else
				{
					e.Graphics.FillRectangle(new SolidBrush(Color.LightBlue), bounds);
					e.Graphics.DrawString(solidBrush.Color.Name, new Font("Veranda", 12f, FontStyle.Bold), new SolidBrush(Color.Red), bounds, stringFormat);
					e.DrawFocusRectangle();
				}
			}
		}

		private void comboBox_AxisList_SelectedIndexChanged(object sender, EventArgs e)
		{
			if (comboBox_AxisList.SelectedIndex == 0)
			{
				checkBox_ShowAxis.Checked = pp.zg1.GraphPane.XAxis.IsVisible;
				textBox_AxisTitle.Text = pp.zg1.GraphPane.XAxis.Title.Text;
				textBox_AxisTitleFont.Text = pp.zg1.GraphPane.XAxis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.XAxis.Title.FontSpec.Size + "pt";
				textBox_AxisTitleColor.BackColor = pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor;
				checkBox_ShowMajorGridLine.Checked = pp.zg1.GraphPane.XAxis.MajorGrid.IsVisible;
				checkBox_ShowMinorGridLine.Checked = pp.zg1.GraphPane.XAxis.MinorGrid.IsVisible;
				textBox_MajorUnit.Text = pp.zg1.GraphPane.XAxis.Scale.MajorStep.ToString("N", numFormatGlobal);
				textBox_MinorUnit.Text = pp.zg1.GraphPane.XAxis.Scale.MinorStep.ToString("N", numFormatGlobal);
				label_AxisScale.Text = comboBox_AxisList.SelectedItem.ToString();
				textBox_ScaleMinimum.Text = pp.zg1.GraphPane.XAxis.Scale.Min.ToString();
				textBox_ScaleMaximum.Text = pp.zg1.GraphPane.XAxis.Scale.Max.ToString();
				textBox_ScaleUnit.Text = GetScaleTypeDescription(pp.zg1.GraphPane.XAxis.Scale.MajorUnit);
				checkBox_ScaleLogarithmic.Checked = pp.zg1.GraphPane.XAxis.Scale.IsLog;
				if (pp.zg1.GraphPane.XAxis.Scale.MagAuto)
				{
					cmbXDisplayType.SelectedIndex = 0;
				}
				else
				{
					cmbXDisplayType.SelectedIndex = 1;
				}
				decimals.Text = pp.zg1.GraphPane.XAxis.Scale.Format.TrimStart('f');
				textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.XAxis.MajorGrid.Color;
				numericUpDown_GridLineMajorWidth.Value = (decimal)pp.zg1.GraphPane.XAxis.MajorGrid.PenWidth;
				textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.XAxis.MinorGrid.Color;
				numericUpDown_GridLineMinorWidth.Value = (decimal)pp.zg1.GraphPane.XAxis.MinorGrid.PenWidth;
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				checkBox_ShowAxis.Checked = pp.zg1.GraphPane.YAxis.IsVisible;
				textBox_AxisTitle.Text = pp.zg1.GraphPane.YAxis.Title.Text;
				textBox_AxisTitleFont.Text = pp.zg1.GraphPane.YAxis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.YAxis.Title.FontSpec.Size + "pt";
				textBox_AxisTitleColor.BackColor = pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor;
				checkBox_ShowMajorGridLine.Checked = pp.zg1.GraphPane.YAxis.MajorGrid.IsVisible;
				checkBox_ShowMinorGridLine.Checked = pp.zg1.GraphPane.YAxis.MinorGrid.IsVisible;
				textBox_MajorUnit.Text = pp.zg1.GraphPane.YAxis.Scale.MajorStep.ToString("N", numFormatGlobal);
				textBox_MinorUnit.Text = pp.zg1.GraphPane.YAxis.Scale.MinorStep.ToString("N", numFormatGlobal);
				label_AxisScale.Text = comboBox_AxisList.SelectedItem.ToString();
				textBox_ScaleMinimum.Text = pp.zg1.GraphPane.YAxis.Scale.Min.ToString();
				textBox_ScaleMaximum.Text = pp.zg1.GraphPane.YAxis.Scale.Max.ToString();
				textBox_ScaleUnit.Text = countsText;
				checkBox_ScaleLogarithmic.Checked = pp.zg1.GraphPane.YAxis.Scale.IsLog;
				if (pp.zg1.GraphPane.YAxis.Scale.MagAuto)
				{
					cmbXDisplayType.SelectedIndex = 0;
				}
				else
				{
					cmbXDisplayType.SelectedIndex = 1;
				}
				decimals.Text = pp.zg1.GraphPane.YAxis.Scale.Format.TrimStart('f');
				textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.YAxis.MajorGrid.Color;
				numericUpDown_GridLineMajorWidth.Value = (decimal)pp.zg1.GraphPane.YAxis.MajorGrid.PenWidth;
				textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.YAxis.MinorGrid.Color;
				numericUpDown_GridLineMinorWidth.Value = (decimal)pp.zg1.GraphPane.YAxis.MinorGrid.PenWidth;
			}
			else if (comboBox_AxisList.SelectedIndex == 2)
			{
				checkBox_ShowAxis.Checked = pp.zg1.GraphPane.Y2Axis.IsVisible;
				textBox_AxisTitle.Text = pp.zg1.GraphPane.Y2Axis.Title.Text;
				textBox_AxisTitleFont.Text = pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Size + "pt";
				textBox_AxisTitleColor.BackColor = pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor;
				checkBox_ShowMajorGridLine.Checked = pp.zg1.GraphPane.Y2Axis.MajorGrid.IsVisible;
				checkBox_ShowMinorGridLine.Checked = pp.zg1.GraphPane.Y2Axis.MinorGrid.IsVisible;
				textBox_MajorUnit.Text = pp.zg1.GraphPane.Y2Axis.Scale.MajorStep.ToString("N", numFormatGlobal);
				textBox_MinorUnit.Text = pp.zg1.GraphPane.Y2Axis.Scale.MinorStep.ToString("N", numFormatGlobal);
				label_AxisScale.Text = comboBox_AxisList.SelectedItem.ToString();
				textBox_ScaleMinimum.Text = pp.zg1.GraphPane.Y2Axis.Scale.Min.ToString();
				textBox_ScaleMaximum.Text = pp.zg1.GraphPane.Y2Axis.Scale.Max.ToString();
				textBox_ScaleUnit.Text = countsText;
				checkBox_ScaleLogarithmic.Checked = pp.zg1.GraphPane.Y2Axis.Scale.IsLog;
				if (pp.zg1.GraphPane.Y2Axis.Scale.MagAuto)
				{
					cmbXDisplayType.SelectedIndex = 0;
				}
				else
				{
					cmbXDisplayType.SelectedIndex = 1;
				}
				decimals.Text = pp.zg1.GraphPane.Y2Axis.Scale.Format.TrimStart('f');
				textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.Y2Axis.MajorGrid.Color;
				numericUpDown_GridLineMajorWidth.Value = (decimal)pp.zg1.GraphPane.Y2Axis.MajorGrid.PenWidth;
				textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.Y2Axis.MinorGrid.Color;
				numericUpDown_GridLineMinorWidth.Value = (decimal)pp.zg1.GraphPane.Y2Axis.MinorGrid.PenWidth;
			}
		}

		private void button_AxisTitleFont_Click(object sender, EventArgs e)
		{
			fontDialog1.ShowColor = false;
			fontDialog1.ShowEffects = true;
			fontDialog1.ScriptsOnly = false;
			if (comboBox_AxisList.SelectedIndex == 0)
			{
				fontDialog1.Color = pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor;
				if (fontDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.XAxis.Title.FontSpec.Size = fontDialog1.Font.Size;
					pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor = fontDialog1.Color;
					pp.zg1.GraphPane.XAxis.Title.FontSpec.Family = fontDialog1.Font.FontFamily.Name.ToString();
					pp.zg1.GraphPane.XAxis.Title.FontSpec.IsBold = fontDialog1.Font.Bold;
					pp.zg1.GraphPane.XAxis.Title.FontSpec.IsItalic = fontDialog1.Font.Italic;
					pp.zg1.GraphPane.XAxis.Title.FontSpec.IsUnderline = fontDialog1.Font.Underline;
					textBox_AxisTitleFont.Text = pp.zg1.GraphPane.XAxis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.XAxis.Title.FontSpec.Size + "pt";
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				fontDialog1.Color = pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor;
				if (fontDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.YAxis.Title.FontSpec.Size = fontDialog1.Font.Size;
					pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor = fontDialog1.Color;
					pp.zg1.GraphPane.YAxis.Title.FontSpec.Family = fontDialog1.Font.FontFamily.Name.ToString();
					pp.zg1.GraphPane.YAxis.Title.FontSpec.IsBold = fontDialog1.Font.Bold;
					pp.zg1.GraphPane.YAxis.Title.FontSpec.IsItalic = fontDialog1.Font.Italic;
					pp.zg1.GraphPane.YAxis.Title.FontSpec.IsUnderline = fontDialog1.Font.Underline;
					textBox_AxisTitleFont.Text = pp.zg1.GraphPane.YAxis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.YAxis.Title.FontSpec.Size + "pt";
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 2)
			{
				fontDialog1.Color = pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor;
				if (fontDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Size = fontDialog1.Font.Size;
					pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor = fontDialog1.Color;
					pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Family = fontDialog1.Font.FontFamily.Name.ToString();
					pp.zg1.GraphPane.Y2Axis.Title.FontSpec.IsBold = fontDialog1.Font.Bold;
					pp.zg1.GraphPane.Y2Axis.Title.FontSpec.IsItalic = fontDialog1.Font.Italic;
					pp.zg1.GraphPane.Y2Axis.Title.FontSpec.IsUnderline = fontDialog1.Font.Underline;
					textBox_AxisTitleFont.Text = pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Size + "pt";
					pp.zg1.Invalidate();
				}
			}
		}

		private void button_AxisTitleColor_Click(object sender, EventArgs e)
		{
			if (comboBox_AxisList.SelectedIndex == 0)
			{
				colorDialog1.Color = pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor = colorDialog1.Color;
					textBox_AxisTitleColor.BackColor = pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor;
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				colorDialog1.Color = pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor = colorDialog1.Color;
					textBox_AxisTitleColor.BackColor = pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor;
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 2)
			{
				colorDialog1.Color = pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor = colorDialog1.Color;
					textBox_AxisTitleColor.BackColor = pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor;
					pp.zg1.Invalidate();
				}
			}
		}

		private void button_GridLineMajorColor_Click(object sender, EventArgs e)
		{
			if (comboBox_AxisList.SelectedIndex == 0)
			{
				colorDialog1.Color = pp.zg1.GraphPane.XAxis.MajorGrid.Color;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.XAxis.MajorGrid.Color = colorDialog1.Color;
					textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.XAxis.MajorGrid.Color;
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				colorDialog1.Color = pp.zg1.GraphPane.YAxis.MajorGrid.Color;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.YAxis.MajorGrid.Color = colorDialog1.Color;
					textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.YAxis.MajorGrid.Color;
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 2)
			{
				colorDialog1.Color = pp.zg1.GraphPane.Y2Axis.MajorGrid.Color;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.Y2Axis.MajorGrid.Color = colorDialog1.Color;
					textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.Y2Axis.MajorGrid.Color;
					pp.zg1.Invalidate();
				}
			}
		}

		private void button_GridLineMinorColor_Click(object sender, EventArgs e)
		{
			if (comboBox_AxisList.SelectedIndex == 0)
			{
				colorDialog1.Color = pp.zg1.GraphPane.XAxis.MinorGrid.Color;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.XAxis.MinorGrid.Color = colorDialog1.Color;
					textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.XAxis.MinorGrid.Color;
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				colorDialog1.Color = pp.zg1.GraphPane.YAxis.MinorGrid.Color;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.YAxis.MinorGrid.Color = colorDialog1.Color;
					textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.YAxis.MinorGrid.Color;
					pp.zg1.Invalidate();
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 2)
			{
				colorDialog1.Color = pp.zg1.GraphPane.Y2Axis.MinorGrid.Color;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					pp.zg1.GraphPane.Y2Axis.MinorGrid.Color = colorDialog1.Color;
					textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.Y2Axis.MinorGrid.Color;
					pp.zg1.Invalidate();
				}
			}
		}

		private void button_SeriesColor_Click(object sender, EventArgs e)
		{
			CurveList curveList = pp.zg1.GraphPane.CurveList;
			string text = "";
			string text2 = "";
			if (curveList.Count > 0)
			{
				colorDialog1.Color = curveList[comboBox_SerialList.SelectedIndex].Color;
				if (colorDialog1.ShowDialog(IDEGlobals.CreateWin32WindowWrapperFromPtr(base.Handle)) == DialogResult.OK)
				{
					curveList[comboBox_SerialList.SelectedIndex].Color = colorDialog1.Color;
					textBox_SeriesColor.BackColor = curveList[comboBox_SerialList.SelectedIndex].Color;
					text = pp.zg1.GraphPane.YAxis.Title.Text;
					text2 = pp.zg1.GraphPane.Y2Axis.Title.Text;
					string obj = comboBox_SerialList.Text;
					bool flag = obj == text;
					bool flag2 = obj == text2;
					pp.zg1.Invalidate();
				}
			}
		}

		private void comboBox_SerialList_SelectedIndexChanged(object sender, EventArgs e)
		{
			if (pp.zg1.GraphPane.CurveList.Count > 0)
			{
				CurveList curveList = pp.zg1.GraphPane.CurveList;
				textBox_SeriesColor.BackColor = curveList[comboBox_SerialList.SelectedIndex].Color;
				checkBox_ShowSeries.Checked = curveList[comboBox_SerialList.SelectedIndex].IsVisible;
				comboBox_SymbolList.SelectedValue = ((LineItem)curveList[comboBox_SerialList.SelectedIndex]).Symbol.Type;
			}
		}

		private void textBox_ScaleMinimum_Enter(object sender, EventArgs e)
		{
			previousValue = textBox_ScaleMinimum.Text;
		}

		private void textBox_ScaleMinimum_Leave(object sender, EventArgs e)
		{
			textBox_ScaleMinimum.Text = ValidateDouble(textBox_ScaleMinimum.Text, previousValue);
		}

		private void textBox_ScaleMinimum_KeyUp(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Return || e.KeyCode == Keys.Tab)
			{
				textBox_ScaleMinimum.Text = ValidateDouble(textBox_ScaleMinimum.Text, previousValue);
			}
		}

		private void textBox_ScaleMaximum_Enter(object sender, EventArgs e)
		{
			previousValue = textBox_ScaleMaximum.Text;
		}

		private void textBox_ScaleMaximum_Leave(object sender, EventArgs e)
		{
			textBox_ScaleMaximum.Text = ValidateDouble(textBox_ScaleMaximum.Text, previousValue);
		}

		private void textBox_ScaleMaximum_KeyUp(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Return || e.KeyCode == Keys.Tab)
			{
				textBox_ScaleMaximum.Text = ValidateDouble(textBox_ScaleMaximum.Text, previousValue);
			}
		}

		private void textBox_MinorUnit_Enter(object sender, EventArgs e)
		{
			previousValue = textBox_MinorUnit.Text;
		}

		private void textBox_MinorUnit_Leave(object sender, EventArgs e)
		{
			textBox_MinorUnit.Text = ValidateDouble(textBox_MinorUnit.Text, previousValue);
		}

		private void textBox_MinorUnit_KeyUp(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Return || e.KeyCode == Keys.Tab)
			{
				textBox_MinorUnit.Text = ValidateDouble(textBox_MinorUnit.Text, previousValue);
			}
		}

		private void textBox_MajorUnit_Enter(object sender, EventArgs e)
		{
			previousValue = textBox_MajorUnit.Text;
		}

		private void textBox_MajorUnit_Leave(object sender, EventArgs e)
		{
			textBox_MajorUnit.Text = ValidateDouble(textBox_MajorUnit.Text, previousValue);
		}

		private void textBox_MajorUnit_KeyUp(object sender, KeyEventArgs e)
		{
			if (e.KeyCode == Keys.Return || e.KeyCode == Keys.Tab)
			{
				textBox_MajorUnit.Text = ValidateDouble(textBox_MajorUnit.Text, previousValue);
			}
		}

		private void cmbXDisplayType_SelectedIndexChanged(object sender, EventArgs e)
		{
			if (cmbXDisplayType.SelectedIndex == 0)
			{
				if (comboBox_AxisList.SelectedIndex == 0)
				{
					pp.zg1.GraphPane.XAxis.Scale.MagAuto = true;
				}
				else if (comboBox_AxisList.SelectedIndex == 1)
				{
					pp.zg1.GraphPane.YAxis.Scale.MagAuto = true;
				}
				else
				{
					pp.zg1.GraphPane.Y2Axis.Scale.MagAuto = true;
				}
			}
			else if (comboBox_AxisList.SelectedIndex == 0)
			{
				pp.zg1.GraphPane.XAxis.Scale.MagAuto = false;
				pp.zg1.GraphPane.XAxis.Scale.Mag = 0;
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				pp.zg1.GraphPane.YAxis.Scale.MagAuto = false;
				pp.zg1.GraphPane.YAxis.Scale.Mag = 0;
			}
			else
			{
				pp.zg1.GraphPane.Y2Axis.Scale.MagAuto = false;
				pp.zg1.GraphPane.Y2Axis.Scale.Mag = 0;
			}
		}

		private string ValidateInt(string number, string prvVal)
		{
			int num = 0;
			try
			{
				return int.Parse(number).ToString();
			}
			catch (FormatException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
			catch (ArgumentNullException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
			catch (ArgumentException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
			catch (OverflowException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
		}

		private string ValidateDouble(string number, string prvVal)
		{
			double num = 0.0;
			try
			{
				return double.Parse(number).ToString();
			}
			catch (FormatException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
			catch (ArgumentNullException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
			catch (ArgumentException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
			catch (OverflowException)
			{
				MessageBox.Show(this, invalidInputText, dataInputText, MessageBoxButtons.OK, MessageBoxIcon.Hand);
				return prvVal;
			}
		}

		public void RestoreSettings(string file)
		{
			new INI_ReadWrite(file);
			textBox_ChartTitle.Text = pp.zg1.GraphPane.Title.Text;
			checkBox_ChartTitle.Checked = pp.zg1.GraphPane.Title.IsVisible;
			textBox_TitleColor.BackColor = pp.zg1.GraphPane.Title.FontSpec.FontColor;
			textBox_TitleFont.Text = pp.zg1.GraphPane.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.Title.FontSpec.Size + "pt";
			textBox_TitleColor.Refresh();
			if (pp.zg1.GraphPane.Fill.Color.Name == "White")
			{
				radioButton2.Checked = true;
			}
			else
			{
				radioButton1.Checked = true;
			}
			if (comboBox_AxisList.SelectedIndex == 0)
			{
				textBox_AxisTitle.Text = pp.zg1.GraphPane.XAxis.Title.Text;
				textBox_ScaleMaximum.Text = pp.zg1.GraphPane.XAxis.Scale.Max.ToString();
				textBox_ScaleMinimum.Text = pp.zg1.GraphPane.XAxis.Scale.Min.ToString();
				if (pp.zg1.GraphPane.XAxis.Scale.MagAuto)
				{
					cmbXDisplayType.SelectedIndex = 0;
				}
				else
				{
					cmbXDisplayType.SelectedIndex = 1;
				}
				decimals.Text = pp.zg1.GraphPane.XAxis.Scale.Format.TrimStart('f');
				textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.XAxis.MajorGrid.Color;
				textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.XAxis.MinorGrid.Color;
			}
			else if (comboBox_AxisList.SelectedIndex == 1)
			{
				textBox_AxisTitle.Text = pp.zg1.GraphPane.YAxis.Title.Text;
				textBox_ScaleMaximum.Text = pp.zg1.GraphPane.YAxis.Scale.Max.ToString();
				textBox_ScaleMinimum.Text = pp.zg1.GraphPane.YAxis.Scale.Min.ToString();
				if (pp.zg1.GraphPane.YAxis.Scale.MagAuto)
				{
					cmbXDisplayType.SelectedIndex = 0;
				}
				else
				{
					cmbXDisplayType.SelectedIndex = 1;
				}
				decimals.Text = pp.zg1.GraphPane.YAxis.Scale.Format.TrimStart('f');
				textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.YAxis.MajorGrid.Color;
				textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.YAxis.MinorGrid.Color;
			}
			else
			{
				textBox_AxisTitle.Text = pp.zg1.GraphPane.Y2Axis.Title.Text;
				textBox_ScaleMaximum.Text = pp.zg1.GraphPane.Y2Axis.Scale.Max.ToString();
				textBox_ScaleMinimum.Text = pp.zg1.GraphPane.Y2Axis.Scale.Min.ToString();
				if (pp.zg1.GraphPane.Y2Axis.Scale.MagAuto)
				{
					cmbXDisplayType.SelectedIndex = 0;
				}
				else
				{
					cmbXDisplayType.SelectedIndex = 1;
				}
				decimals.Text = pp.zg1.GraphPane.Y2Axis.Scale.Format.TrimStart('f');
				textBox_GridLineMajorColor.BackColor = pp.zg1.GraphPane.Y2Axis.MajorGrid.Color;
				textBox_GridLineMinorColor.BackColor = pp.zg1.GraphPane.Y2Axis.MinorGrid.Color;
			}
		}

		public string GetINIFile()
		{
			return "ChartControl.ini";
		}

		private void SaveToINI(string file)
		{
			if (!istuneplot)
			{
				ColorConverter colorConverter = new ColorConverter();
				INI_ReadWrite iNI_ReadWrite = new INI_ReadWrite(file);
				if (File.Exists(iNI_ReadWrite.path))
				{
					File.Delete(iNI_ReadWrite.path);
				}
				iNI_ReadWrite.IniWriteValue("Chart Settings", "Title", pp.zg1.GraphPane.Title.Text);
				iNI_ReadWrite.IniWriteValue("Chart Settings", "Title Font", pp.zg1.GraphPane.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.Title.FontSpec.Size + "pt");
				iNI_ReadWrite.IniWriteValue("Chart Settings", "Title ForeColor", colorConverter.ConvertToString(pp.zg1.GraphPane.Title.FontSpec.FontColor));
				if (radioButton2.Checked)
				{
					iNI_ReadWrite.IniWriteValue("Chart Settings", "Chart Background", "White");
				}
				else
				{
					iNI_ReadWrite.IniWriteValue("Chart Settings", "Chart Background", "ControlText");
				}
				iNI_ReadWrite.IniWriteValue("X Axis", "Show XAxis", pp.zg1.GraphPane.XAxis.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Font", pp.zg1.GraphPane.XAxis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.XAxis.Title.FontSpec.Size + "pt");
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Title Color", colorConverter.ConvertToString(pp.zg1.GraphPane.XAxis.Title.FontSpec.FontColor));
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Title", pp.zg1.GraphPane.XAxis.Title.Text);
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MajorGridLine", pp.zg1.GraphPane.XAxis.MajorGrid.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MinorGridLine", pp.zg1.GraphPane.XAxis.MinorGrid.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MajorUnit", pp.zg1.GraphPane.XAxis.Scale.MajorStep.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MinorUnit", pp.zg1.GraphPane.XAxis.Scale.MinorStep.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Minimum", pp.zg1.GraphPane.XAxis.Scale.Min.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Maximum", pp.zg1.GraphPane.XAxis.Scale.Max.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Decimals", pp.zg1.GraphPane.XAxis.Scale.Format.TrimStart('f'));
				if (pp.zg1.GraphPane.XAxis.Scale.MagAuto)
				{
					iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Unit Display Type", "Scientific");
				}
				else
				{
					iNI_ReadWrite.IniWriteValue("X Axis", "XAxis Unit Display Type", "Standard");
				}
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MajorGridLineColor", colorConverter.ConvertToString(pp.zg1.GraphPane.XAxis.MajorGrid.Color));
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MajorGridLineWidth", pp.zg1.GraphPane.XAxis.MajorGrid.PenWidth.ToString());
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MinorGridLineColor", colorConverter.ConvertToString(pp.zg1.GraphPane.XAxis.MinorGrid.Color));
				iNI_ReadWrite.IniWriteValue("X Axis", "XAxis MinorGridLineWidth", pp.zg1.GraphPane.XAxis.MinorGrid.PenWidth.ToString());
				iNI_ReadWrite.IniWriteValue("Y Axis", "Show YAxis", pp.zg1.GraphPane.YAxis.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Font", pp.zg1.GraphPane.YAxis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.YAxis.Title.FontSpec.Size + "pt");
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Title Color", colorConverter.ConvertToString(pp.zg1.GraphPane.YAxis.Title.FontSpec.FontColor));
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Title", pp.zg1.GraphPane.YAxis.Title.Text);
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MajorGridLine", pp.zg1.GraphPane.YAxis.MajorGrid.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MinorGridLine", pp.zg1.GraphPane.YAxis.MinorGrid.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MajorUnit", pp.zg1.GraphPane.YAxis.Scale.MajorStep.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MinorUnit", pp.zg1.GraphPane.YAxis.Scale.MinorStep.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Minimum", pp.zg1.GraphPane.YAxis.Scale.Min.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Maximum", pp.zg1.GraphPane.YAxis.Scale.Max.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Decimals", pp.zg1.GraphPane.YAxis.Scale.Format.TrimStart('f'));
				if (pp.zg1.GraphPane.YAxis.Scale.MagAuto)
				{
					iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Unit Display Type", "Scientific");
				}
				else
				{
					iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis Unit Display Type", "Standard");
				}
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MajorGridLineColor", colorConverter.ConvertToString(pp.zg1.GraphPane.YAxis.MajorGrid.Color));
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MajorGridLineWidth", ((decimal)pp.zg1.GraphPane.YAxis.MajorGrid.PenWidth).ToString());
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MinorGridLineColor", colorConverter.ConvertToString(pp.zg1.GraphPane.YAxis.MinorGrid.Color));
				iNI_ReadWrite.IniWriteValue("Y Axis", "YAxis MinorGridLineWidth", ((decimal)pp.zg1.GraphPane.YAxis.MinorGrid.PenWidth).ToString());
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Show Y2Axis", pp.zg1.GraphPane.Y2Axis.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Font", pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Family + ", " + pp.zg1.GraphPane.Y2Axis.Title.FontSpec.Size + "pt");
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Title Color", colorConverter.ConvertToString(pp.zg1.GraphPane.Y2Axis.Title.FontSpec.FontColor));
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Title", pp.zg1.GraphPane.Y2Axis.Title.Text);
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MajorGridLine", pp.zg1.GraphPane.Y2Axis.MajorGrid.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MinorGridLine", pp.zg1.GraphPane.Y2Axis.MinorGrid.IsVisible.ToString());
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MajorUnit", pp.zg1.GraphPane.Y2Axis.Scale.MajorStep.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MinorUnit", pp.zg1.GraphPane.Y2Axis.Scale.MinorStep.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Minimum", pp.zg1.GraphPane.Y2Axis.Scale.Min.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Maximum", pp.zg1.GraphPane.Y2Axis.Scale.Max.ToString("N", numFormatGlobal));
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Decimals", pp.zg1.GraphPane.Y2Axis.Scale.Format.TrimStart('f'));
				if (pp.zg1.GraphPane.Y2Axis.Scale.MagAuto)
				{
					iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Unit Display Type", "Scientific");
				}
				else
				{
					iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis Unit Display Type", "Standard");
				}
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MajorGridLineColor", colorConverter.ConvertToString(pp.zg1.GraphPane.Y2Axis.MajorGrid.Color));
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MajorGridLineWidth", ((decimal)pp.zg1.GraphPane.Y2Axis.MajorGrid.PenWidth).ToString());
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MinorGridLineColor", colorConverter.ConvertToString(pp.zg1.GraphPane.Y2Axis.MinorGrid.Color));
				iNI_ReadWrite.IniWriteValue("Y2 Axis", "Y2Axis MinorGridLineWidth", ((decimal)pp.zg1.GraphPane.Y2Axis.MinorGrid.PenWidth).ToString());
				iNI_ReadWrite = null;
			}
		}

		private string GetScaleTypeDescription(DateUnit dateUnit)
		{
			switch (dateUnit)
			{
			case DateUnit.Year:
				return yearText;
			case DateUnit.Month:
				return monthText;
			case DateUnit.Day:
				return dayText;
			case DateUnit.Hour:
				return hourText;
			case DateUnit.Minute:
				return minuteText;
			case DateUnit.Second:
				return secondText;
			case DateUnit.Millisecond:
				return millisecondText;
			default:
				return string.Empty;
			}
		}

		private void SetLanguageTranslations()
		{
			ILanguageTranslationService service = ServiceManager.GetService<ILanguageTranslationService>();
			countsText = service.Translate("PPChartControl.Counts");
			dataInputText = service.Translate("PPChartControl.DataInput");
			invalidInputText = service.Translate("PPChartControl.InvalidInputText");
			yearText = service.Translate("PPChartControl.Year");
			monthText = service.Translate("PPChartControl.Month");
			dayText = service.Translate("PPChartControl.Day");
			hourText = service.Translate("PPChartControl.Hour");
			minuteText = service.Translate("Common.Minute");
			secondText = service.Translate("Common.Second");
			millisecondText = service.Translate("Common.Millisecond");
			SuspendLayout();
			tabPage_Chart.Text = service.Translate("PPChartControl.Chart");
			groupBox1.Text = service.Translate("PPChartControl.Title");
			label32.Text = service.Translate("PPChartControl.BackgroundColor");
			radioButton2.Text = service.Translate("PPChartControl.White");
			radioButton1.Text = service.Translate("PPChartControl.Black");
			label2.Text = service.Translate("PPChartControl.ForegroundColor");
			label1.Text = service.Translate("PPChartControl.Font");
			checkBox_ChartTitle.Text = service.Translate("PPChartControl.ShowTitle");
			tabPage_Series.Text = service.Translate("PPChartControl.Series");
			label33.Text = service.Translate("PPChartControl.SeriesSymbol");
			checkBox_ShowSeries.Text = service.Translate("PPChartControl.ShowSeries");
			label31.Text = service.Translate("PPChartControl.SeriesColor");
			label30.Text = service.Translate("PPChartControl.Series");
			tabPage_Axis.Text = service.Translate("GraphCommon.Axis");
			tabPage1.Text = service.Translate("PPChartControl.General");
			checkBox_ShowAxis.Text = service.Translate("PPChartControl.ShowAxis");
			label22.Text = service.Translate("PPChartControl.AxisTitleColor");
			label21.Text = service.Translate("PPChartControl.AxisTitleFont");
			label4.Text = service.Translate("PPChartControl.Title");
			label3.Text = service.Translate("GraphCommon.Axis");
			tabPage2.Text = service.Translate("PPChartControl.Scale");
			unitFormat.Text = service.Translate("PPChartControl.UnitDisplayFormat");
			checkBox_ScaleLogarithmic.Text = service.Translate("PPChartControl.Logarithmic");
			checkBox_ShowMinorGridLine.Text = service.Translate("GraphCommon.ShowMinorGridLine");
			checkBox_ShowMajorGridLine.Text = service.Translate("GraphCommon.ShowMajorGridLine");
			label28.Text = service.Translate("GraphCommon.MinorUnit");
			label27.Text = service.Translate("GraphCommon.MajorUnit");
			label26.Text = service.Translate("PPChartControl.Decimals");
			label25.Text = service.Translate("GraphCommon.GraphType");
			label24.Text = service.Translate("GraphCommon.ScaleUnit");
			label23.Text = service.Translate("GraphCommon.Maximum");
			label_AxisScale.Text = service.Translate("GraphCommon.Axis");
			label8.Text = service.Translate("GraphCommon.Minimum");
			tabPage4.Text = service.Translate("PPChartControl.GridLines");
			groupBox3.Text = service.Translate("PPChartControl.MinorGridLine");
			label5.Text = service.Translate("PPChartControl.GridLineWidth");
			label29.Text = service.Translate("PPChartControl.GridLineColor");
			groupBox2.Text = service.Translate("PPChartControl.MajorGridLine");
			label7.Text = service.Translate("PPChartControl.GridLineWidth");
			label6.Text = service.Translate("PPChartControl.GridLineColor");
			button_OK.Text = service.Translate("Common.Ok");
			button_Cancel.Text = service.Translate("Common.Cancel");
			button_Apply.Text = service.Translate("Common.Apply");
			label9.Text = service.Translate("PPChartControl.AxisLabelsColor");
			label10.Text = service.Translate("PPChartControl.AxisLabelsFont");
			label11.Text = service.Translate("PPChartControl.GridStyle");
			checkBox2.Text = service.Translate("PPChartControl.ShowGridLine");
			label12.Text = service.Translate("PPChartControl.GridLine");
			label13.Text = service.Translate("PPChartControl.Title");
			label14.Text = service.Translate("PPChartControl.Axes");
			label15.Text = service.Translate("PPChartControl.AxisLabelsColor");
			label16.Text = service.Translate("PPChartControl.AxisLabelsFont");
			label17.Text = service.Translate("PPChartControl.GridStyle");
			checkBox3.Text = service.Translate("PPChartControl.ShowGridLine");
			label18.Text = service.Translate("PPChartControl.GridLine");
			label19.Text = service.Translate("PPChartControl.Title");
			label20.Text = service.Translate("PPChartControl.Axes");
			Text = service.Translate("PPChartControl.ChartProperties");
			propertyToolTip.SetToolTip(cmbXDisplayType, service.Translate("PPChartControl.XDisplayTypeToolTipText"));
			propertyToolTip.SetToolTip(decimals, service.Translate("PPChartControl.DecimalPlacesToolTipText"));
			propertyToolTip.SetToolTip(checkBox_ShowMinorGridLine, service.Translate("PPChartControl.ShowMinorGridLineToolTipText"));
			propertyToolTip.SetToolTip(checkBox_ShowMajorGridLine, service.Translate("PPChartControl.ShowMajorGridLineToolTipText"));
			propertyToolTip.SetToolTip(label28, service.Translate("PPChartControl.MinorStepSizeToolTipText"));
			propertyToolTip.SetToolTip(textBox_MinorUnit, service.Translate("PPChartControl.MinorStepSizeToolTipText"));
			propertyToolTip.SetToolTip(label27, service.Translate("PPChartControl.MajorStepSizeToolTipText"));
			propertyToolTip.SetToolTip(textBox_MajorUnit, service.Translate("PPChartControl.MajorStepSizeToolTipText"));
			propertyToolTip.SetToolTip(label23, service.Translate("PPChartControl.MaximumScaleValueToolTipText"));
			propertyToolTip.SetToolTip(textBox_ScaleMaximum, service.Translate("PPChartControl.MaximumScaleValueToolTipText"));
			propertyToolTip.SetToolTip(label8, service.Translate("PPChartControl.MinimumScaleValueToolTipText"));
			propertyToolTip.SetToolTip(textBox_ScaleMinimum, service.Translate("PPChartControl.MinimumScaleValueToolTipText"));
			comboBox_SymbolList.Items.Clear();
			comboBox_SymbolList.ValueMember = "SymbolType";
			comboBox_SymbolList.DisplayMember = "Description";
			comboBox_SymbolList.DataSource = new List<SymbolTypeDisplayInfo>
			{
				new SymbolTypeDisplayInfo(SymbolType.Square, service.Translate("GraphCommon.SquareSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.Diamond, service.Translate("GraphCommon.DiamondSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.Triangle, service.Translate("GraphCommon.TriangleSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.Circle, service.Translate("GraphCommon.CircleSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.XCross, service.Translate("GraphCommon.XCrossSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.Plus, service.Translate("GraphCommon.PlusSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.Star, service.Translate("GraphCommon.StarSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.TriangleDown, service.Translate("GraphCommon.TriangleDownSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.HDash, service.Translate("GraphCommon.HDashSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.VDash, service.Translate("GraphCommon.VDashSymbolType")),
				new SymbolTypeDisplayInfo(SymbolType.None, service.Translate("GraphCommon.NoneSymbolType"))
			};
			cmbXDisplayType.SelectedIndexChanged -= cmbXDisplayType_SelectedIndexChanged;
			cmbXDisplayType.Items.Clear();
			cmbXDisplayType.Items.AddRange(new object[2]
			{
				service.Translate("PPChartControl.Scientific"),
				service.Translate("PPChartControl.Standard")
			});
			cmbXDisplayType.SelectedIndexChanged += cmbXDisplayType_SelectedIndexChanged;
			comboBox_ScaleFormat.Items.Clear();
			comboBox_ScaleFormat.ValueMember = "AxisType";
			comboBox_ScaleFormat.DisplayMember = "Description";
			comboBox_ScaleFormat.DataSource = new List<AxisTypeDisplayInfo>
			{
				new AxisTypeDisplayInfo(ZedGraph.AxisType.Linear, service.Translate("PPChartControl.LinearAxisType"))
			};
			ResumeLayout(false);
		}

		protected override void Dispose(bool disposing)
		{
			if (disposing && components != null)
			{
				components.Dispose();
			}
			base.Dispose(disposing);
		}

		private void InitializeComponent()
		{
			this.components = new System.ComponentModel.Container();
			System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormProperty));
			this.tabControl1 = new System.Windows.Forms.TabControl();
			this.tabPage_Chart = new System.Windows.Forms.TabPage();
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.label32 = new System.Windows.Forms.Label();
			this.panel3 = new System.Windows.Forms.Panel();
			this.radioButton2 = new System.Windows.Forms.RadioButton();
			this.panel1 = new System.Windows.Forms.Panel();
			this.radioButton1 = new System.Windows.Forms.RadioButton();
			this.panel2 = new System.Windows.Forms.Panel();
			this.textBox_TitleColor = new System.Windows.Forms.TextBox();
			this.textBox_TitleFont = new System.Windows.Forms.TextBox();
			this.button_TitleColor = new System.Windows.Forms.Button();
			this.label2 = new System.Windows.Forms.Label();
			this.button_TitleFont = new System.Windows.Forms.Button();
			this.label1 = new System.Windows.Forms.Label();
			this.checkBox_ChartTitle = new System.Windows.Forms.CheckBox();
			this.textBox_ChartTitle = new System.Windows.Forms.TextBox();
			this.tabPage_Series = new System.Windows.Forms.TabPage();
			this.comboBox_SymbolList = new System.Windows.Forms.ComboBox();
			this.label33 = new System.Windows.Forms.Label();
			this.checkBox_ShowSeries = new System.Windows.Forms.CheckBox();
			this.textBox_SeriesColor = new System.Windows.Forms.TextBox();
			this.button_SeriesColor = new System.Windows.Forms.Button();
			this.label31 = new System.Windows.Forms.Label();
			this.label30 = new System.Windows.Forms.Label();
			this.comboBox_SerialList = new System.Windows.Forms.ComboBox();
			this.tabPage_Axis = new System.Windows.Forms.TabPage();
			this.tabControl2 = new System.Windows.Forms.TabControl();
			this.tabPage1 = new System.Windows.Forms.TabPage();
			this.checkBox_ShowAxis = new System.Windows.Forms.CheckBox();
			this.textBox_AxisTitleColor = new System.Windows.Forms.TextBox();
			this.button_AxisTitleColor = new System.Windows.Forms.Button();
			this.label22 = new System.Windows.Forms.Label();
			this.textBox_AxisTitleFont = new System.Windows.Forms.TextBox();
			this.button_AxisTitleFont = new System.Windows.Forms.Button();
			this.label21 = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.textBox_AxisTitle = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.comboBox_AxisList = new System.Windows.Forms.ComboBox();
			this.tabPage2 = new System.Windows.Forms.TabPage();
			this.cmbXDisplayType = new System.Windows.Forms.ComboBox();
			this.unitFormat = new System.Windows.Forms.Label();
			this.checkBox_ScaleLogarithmic = new System.Windows.Forms.CheckBox();
			this.decimals = new System.Windows.Forms.TextBox();
			this.checkBox_ShowMinorGridLine = new System.Windows.Forms.CheckBox();
			this.checkBox_ShowMajorGridLine = new System.Windows.Forms.CheckBox();
			this.label28 = new System.Windows.Forms.Label();
			this.textBox_MinorUnit = new System.Windows.Forms.TextBox();
			this.label27 = new System.Windows.Forms.Label();
			this.textBox_MajorUnit = new System.Windows.Forms.TextBox();
			this.comboBox_ScaleFormat = new System.Windows.Forms.ComboBox();
			this.label26 = new System.Windows.Forms.Label();
			this.label25 = new System.Windows.Forms.Label();
			this.label24 = new System.Windows.Forms.Label();
			this.textBox_ScaleUnit = new System.Windows.Forms.TextBox();
			this.label23 = new System.Windows.Forms.Label();
			this.textBox_ScaleMaximum = new System.Windows.Forms.TextBox();
			this.label_AxisScale = new System.Windows.Forms.Label();
			this.label8 = new System.Windows.Forms.Label();
			this.textBox_ScaleMinimum = new System.Windows.Forms.TextBox();
			this.tabPage4 = new System.Windows.Forms.TabPage();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.numericUpDown_GridLineMinorWidth = new System.Windows.Forms.NumericUpDown();
			this.label5 = new System.Windows.Forms.Label();
			this.textBox_GridLineMinorColor = new System.Windows.Forms.TextBox();
			this.button_GridLineMinorColor = new System.Windows.Forms.Button();
			this.label29 = new System.Windows.Forms.Label();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.numericUpDown_GridLineMajorWidth = new System.Windows.Forms.NumericUpDown();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox_GridLineMajorColor = new System.Windows.Forms.TextBox();
			this.button_GridLineMajorColor = new System.Windows.Forms.Button();
			this.label6 = new System.Windows.Forms.Label();
			this.button_OK = new System.Windows.Forms.Button();
			this.button_Cancel = new System.Windows.Forms.Button();
			this.button_Apply = new System.Windows.Forms.Button();
			this.fontDialog1 = new System.Windows.Forms.FontDialog();
			this.colorDialog1 = new System.Windows.Forms.ColorDialog();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.button4 = new System.Windows.Forms.Button();
			this.textBox6 = new System.Windows.Forms.TextBox();
			this.button5 = new System.Windows.Forms.Button();
			this.label9 = new System.Windows.Forms.Label();
			this.label10 = new System.Windows.Forms.Label();
			this.comboBox2 = new System.Windows.Forms.ComboBox();
			this.label11 = new System.Windows.Forms.Label();
			this.checkBox2 = new System.Windows.Forms.CheckBox();
			this.label12 = new System.Windows.Forms.Label();
			this.label13 = new System.Windows.Forms.Label();
			this.textBox7 = new System.Windows.Forms.TextBox();
			this.label14 = new System.Windows.Forms.Label();
			this.comboBox3 = new System.Windows.Forms.ComboBox();
			this.textBox8 = new System.Windows.Forms.TextBox();
			this.button6 = new System.Windows.Forms.Button();
			this.textBox9 = new System.Windows.Forms.TextBox();
			this.button7 = new System.Windows.Forms.Button();
			this.label15 = new System.Windows.Forms.Label();
			this.label16 = new System.Windows.Forms.Label();
			this.comboBox4 = new System.Windows.Forms.ComboBox();
			this.label17 = new System.Windows.Forms.Label();
			this.checkBox3 = new System.Windows.Forms.CheckBox();
			this.label18 = new System.Windows.Forms.Label();
			this.label19 = new System.Windows.Forms.Label();
			this.textBox10 = new System.Windows.Forms.TextBox();
			this.label20 = new System.Windows.Forms.Label();
			this.comboBox5 = new System.Windows.Forms.ComboBox();
			this.propertyToolTip = new System.Windows.Forms.ToolTip(this.components);
			this.tabControl1.SuspendLayout();
			this.tabPage_Chart.SuspendLayout();
			this.groupBox1.SuspendLayout();
			this.panel3.SuspendLayout();
			this.tabPage_Series.SuspendLayout();
			this.tabPage_Axis.SuspendLayout();
			this.tabControl2.SuspendLayout();
			this.tabPage1.SuspendLayout();
			this.tabPage2.SuspendLayout();
			this.tabPage4.SuspendLayout();
			this.groupBox3.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.numericUpDown_GridLineMinorWidth).BeginInit();
			this.groupBox2.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)this.numericUpDown_GridLineMajorWidth).BeginInit();
			base.SuspendLayout();
			this.tabControl1.Controls.Add(this.tabPage_Chart);
			this.tabControl1.Controls.Add(this.tabPage_Series);
			this.tabControl1.Controls.Add(this.tabPage_Axis);
			this.tabControl1.Location = new System.Drawing.Point(3, 2);
			this.tabControl1.Name = "tabControl1";
			this.tabControl1.SelectedIndex = 0;
			this.tabControl1.Size = new System.Drawing.Size(424, 326);
			this.tabControl1.TabIndex = 0;
			this.tabPage_Chart.Controls.Add(this.groupBox1);
			this.tabPage_Chart.Location = new System.Drawing.Point(4, 22);
			this.tabPage_Chart.Name = "tabPage_Chart";
			this.tabPage_Chart.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage_Chart.Size = new System.Drawing.Size(416, 300);
			this.tabPage_Chart.TabIndex = 0;
			this.tabPage_Chart.Text = "Chart";
			this.tabPage_Chart.UseVisualStyleBackColor = true;
			this.groupBox1.Controls.Add(this.label32);
			this.groupBox1.Controls.Add(this.panel3);
			this.groupBox1.Controls.Add(this.textBox_TitleColor);
			this.groupBox1.Controls.Add(this.textBox_TitleFont);
			this.groupBox1.Controls.Add(this.button_TitleColor);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.button_TitleFont);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Controls.Add(this.checkBox_ChartTitle);
			this.groupBox1.Controls.Add(this.textBox_ChartTitle);
			this.groupBox1.Location = new System.Drawing.Point(6, 6);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(339, 255);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "Title";
			this.label32.AutoSize = true;
			this.label32.Location = new System.Drawing.Point(18, 182);
			this.label32.Name = "label32";
			this.label32.Size = new System.Drawing.Size(92, 13);
			this.label32.TabIndex = 7;
			this.label32.Text = "Background Color";
			this.panel3.Controls.Add(this.radioButton2);
			this.panel3.Controls.Add(this.panel1);
			this.panel3.Controls.Add(this.radioButton1);
			this.panel3.Controls.Add(this.panel2);
			this.panel3.Location = new System.Drawing.Point(113, 169);
			this.panel3.Name = "panel3";
			this.panel3.Size = new System.Drawing.Size(114, 45);
			this.panel3.TabIndex = 12;
			this.radioButton2.AutoSize = true;
			this.radioButton2.Location = new System.Drawing.Point(41, 23);
			this.radioButton2.Name = "radioButton2";
			this.radioButton2.Size = new System.Drawing.Size(53, 17);
			this.radioButton2.TabIndex = 11;
			this.radioButton2.Text = "White";
			this.radioButton2.UseVisualStyleBackColor = true;
			this.panel1.BackColor = System.Drawing.Color.Black;
			this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.panel1.ForeColor = System.Drawing.SystemColors.ControlLightLight;
			this.panel1.Location = new System.Drawing.Point(17, 6);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(18, 14);
			this.panel1.TabIndex = 8;
			this.radioButton1.AutoSize = true;
			this.radioButton1.Checked = true;
			this.radioButton1.Location = new System.Drawing.Point(41, 4);
			this.radioButton1.Name = "radioButton1";
			this.radioButton1.Size = new System.Drawing.Size(52, 17);
			this.radioButton1.TabIndex = 10;
			this.radioButton1.TabStop = true;
			this.radioButton1.Text = "Black";
			this.radioButton1.UseVisualStyleBackColor = true;
			this.panel2.BackColor = System.Drawing.Color.White;
			this.panel2.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
			this.panel2.Location = new System.Drawing.Point(17, 26);
			this.panel2.Name = "panel2";
			this.panel2.Size = new System.Drawing.Size(18, 14);
			this.panel2.TabIndex = 9;
			this.textBox_TitleColor.BackColor = System.Drawing.SystemColors.Window;
			this.textBox_TitleColor.Enabled = false;
			this.textBox_TitleColor.Location = new System.Drawing.Point(107, 129);
			this.textBox_TitleColor.Name = "textBox_TitleColor";
			this.textBox_TitleColor.Size = new System.Drawing.Size(91, 20);
			this.textBox_TitleColor.TabIndex = 4;
			this.textBox_TitleFont.Enabled = false;
			this.textBox_TitleFont.Location = new System.Drawing.Point(52, 86);
			this.textBox_TitleFont.Name = "textBox_TitleFont";
			this.textBox_TitleFont.Size = new System.Drawing.Size(146, 20);
			this.textBox_TitleFont.TabIndex = 6;
			this.button_TitleColor.Location = new System.Drawing.Point(204, 129);
			this.button_TitleColor.Name = "button_TitleColor";
			this.button_TitleColor.Size = new System.Drawing.Size(23, 25);
			this.button_TitleColor.TabIndex = 5;
			this.button_TitleColor.Text = "...";
			this.button_TitleColor.UseVisualStyleBackColor = true;
			this.button_TitleColor.Click += new System.EventHandler(button_TitleColor_Click);
			this.label2.AutoSize = true;
			this.label2.Location = new System.Drawing.Point(18, 135);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(88, 13);
			this.label2.TabIndex = 4;
			this.label2.Text = "Foreground Color";
			this.button_TitleFont.Location = new System.Drawing.Point(204, 84);
			this.button_TitleFont.Name = "button_TitleFont";
			this.button_TitleFont.Size = new System.Drawing.Size(23, 25);
			this.button_TitleFont.TabIndex = 3;
			this.button_TitleFont.Text = "...";
			this.button_TitleFont.UseVisualStyleBackColor = true;
			this.button_TitleFont.Click += new System.EventHandler(button_TitleFont_Click);
			this.label1.AutoSize = true;
			this.label1.Location = new System.Drawing.Point(18, 90);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(28, 13);
			this.label1.TabIndex = 2;
			this.label1.Text = "Font";
			this.checkBox_ChartTitle.AutoSize = true;
			this.checkBox_ChartTitle.Checked = true;
			this.checkBox_ChartTitle.CheckState = System.Windows.Forms.CheckState.Checked;
			this.checkBox_ChartTitle.Location = new System.Drawing.Point(21, 55);
			this.checkBox_ChartTitle.Name = "checkBox_ChartTitle";
			this.checkBox_ChartTitle.Size = new System.Drawing.Size(76, 17);
			this.checkBox_ChartTitle.TabIndex = 1;
			this.checkBox_ChartTitle.Text = "Show Title";
			this.checkBox_ChartTitle.UseVisualStyleBackColor = true;
			this.textBox_ChartTitle.Location = new System.Drawing.Point(21, 29);
			this.textBox_ChartTitle.Name = "textBox_ChartTitle";
			this.textBox_ChartTitle.Size = new System.Drawing.Size(209, 20);
			this.textBox_ChartTitle.TabIndex = 0;
			this.tabPage_Series.Controls.Add(this.comboBox_SymbolList);
			this.tabPage_Series.Controls.Add(this.label33);
			this.tabPage_Series.Controls.Add(this.checkBox_ShowSeries);
			this.tabPage_Series.Controls.Add(this.textBox_SeriesColor);
			this.tabPage_Series.Controls.Add(this.button_SeriesColor);
			this.tabPage_Series.Controls.Add(this.label31);
			this.tabPage_Series.Controls.Add(this.label30);
			this.tabPage_Series.Controls.Add(this.comboBox_SerialList);
			this.tabPage_Series.Location = new System.Drawing.Point(4, 22);
			this.tabPage_Series.Name = "tabPage_Series";
			this.tabPage_Series.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage_Series.Size = new System.Drawing.Size(416, 300);
			this.tabPage_Series.TabIndex = 1;
			this.tabPage_Series.Text = "Series";
			this.tabPage_Series.UseVisualStyleBackColor = true;
			this.comboBox_SymbolList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox_SymbolList.FormattingEnabled = true;
			this.comboBox_SymbolList.Items.AddRange(new object[11]
			{
				"Square", "Diamond", "Triangle", "Circle", "XCross", "Plus", "Star", "TriangleDown", "HDash", "VDash",
				"None"
			});
			this.comboBox_SymbolList.Location = new System.Drawing.Point(86, 101);
			this.comboBox_SymbolList.Name = "comboBox_SymbolList";
			this.comboBox_SymbolList.Size = new System.Drawing.Size(180, 21);
			this.comboBox_SymbolList.TabIndex = 40;
			this.label33.AutoSize = true;
			this.label33.Location = new System.Drawing.Point(10, 105);
			this.label33.Name = "label33";
			this.label33.Size = new System.Drawing.Size(73, 13);
			this.label33.TabIndex = 39;
			this.label33.Text = "Series Symbol";
			this.checkBox_ShowSeries.AutoSize = true;
			this.checkBox_ShowSeries.Location = new System.Drawing.Point(254, 20);
			this.checkBox_ShowSeries.Name = "checkBox_ShowSeries";
			this.checkBox_ShowSeries.Size = new System.Drawing.Size(85, 17);
			this.checkBox_ShowSeries.TabIndex = 38;
			this.checkBox_ShowSeries.Text = "Show Series";
			this.checkBox_ShowSeries.UseVisualStyleBackColor = true;
			this.textBox_SeriesColor.Enabled = false;
			this.textBox_SeriesColor.Location = new System.Drawing.Point(100, 56);
			this.textBox_SeriesColor.Name = "textBox_SeriesColor";
			this.textBox_SeriesColor.Size = new System.Drawing.Size(86, 20);
			this.textBox_SeriesColor.TabIndex = 37;
			this.button_SeriesColor.Location = new System.Drawing.Point(193, 54);
			this.button_SeriesColor.Name = "button_SeriesColor";
			this.button_SeriesColor.Size = new System.Drawing.Size(23, 25);
			this.button_SeriesColor.TabIndex = 36;
			this.button_SeriesColor.Text = "...";
			this.button_SeriesColor.UseVisualStyleBackColor = true;
			this.button_SeriesColor.Click += new System.EventHandler(button_SeriesColor_Click);
			this.label31.AutoSize = true;
			this.label31.Location = new System.Drawing.Point(10, 59);
			this.label31.Name = "label31";
			this.label31.Size = new System.Drawing.Size(63, 13);
			this.label31.TabIndex = 35;
			this.label31.Text = "Series Color";
			this.label30.AutoSize = true;
			this.label30.Location = new System.Drawing.Point(10, 19);
			this.label30.Name = "label30";
			this.label30.Size = new System.Drawing.Size(36, 13);
			this.label30.TabIndex = 27;
			this.label30.Text = "Series";
			this.comboBox_SerialList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox_SerialList.FormattingEnabled = true;
			this.comboBox_SerialList.Location = new System.Drawing.Point(52, 16);
			this.comboBox_SerialList.Name = "comboBox_SerialList";
			this.comboBox_SerialList.Size = new System.Drawing.Size(180, 21);
			this.comboBox_SerialList.TabIndex = 0;
			this.comboBox_SerialList.SelectedIndexChanged += new System.EventHandler(comboBox_SerialList_SelectedIndexChanged);
			this.tabPage_Axis.Controls.Add(this.tabControl2);
			this.tabPage_Axis.Location = new System.Drawing.Point(4, 22);
			this.tabPage_Axis.Name = "tabPage_Axis";
			this.tabPage_Axis.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage_Axis.Size = new System.Drawing.Size(416, 300);
			this.tabPage_Axis.TabIndex = 2;
			this.tabPage_Axis.Text = "Axis";
			this.tabPage_Axis.UseVisualStyleBackColor = true;
			this.tabControl2.Controls.Add(this.tabPage1);
			this.tabControl2.Controls.Add(this.tabPage2);
			this.tabControl2.Controls.Add(this.tabPage4);
			this.tabControl2.Location = new System.Drawing.Point(6, 6);
			this.tabControl2.Name = "tabControl2";
			this.tabControl2.SelectedIndex = 0;
			this.tabControl2.Size = new System.Drawing.Size(400, 288);
			this.tabControl2.TabIndex = 28;
			this.tabPage1.Controls.Add(this.checkBox_ShowAxis);
			this.tabPage1.Controls.Add(this.textBox_AxisTitleColor);
			this.tabPage1.Controls.Add(this.button_AxisTitleColor);
			this.tabPage1.Controls.Add(this.label22);
			this.tabPage1.Controls.Add(this.textBox_AxisTitleFont);
			this.tabPage1.Controls.Add(this.button_AxisTitleFont);
			this.tabPage1.Controls.Add(this.label21);
			this.tabPage1.Controls.Add(this.label4);
			this.tabPage1.Controls.Add(this.textBox_AxisTitle);
			this.tabPage1.Controls.Add(this.label3);
			this.tabPage1.Controls.Add(this.comboBox_AxisList);
			this.tabPage1.Location = new System.Drawing.Point(4, 22);
			this.tabPage1.Name = "tabPage1";
			this.tabPage1.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage1.Size = new System.Drawing.Size(392, 262);
			this.tabPage1.TabIndex = 0;
			this.tabPage1.Text = "General";
			this.tabPage1.UseVisualStyleBackColor = true;
			this.checkBox_ShowAxis.AutoSize = true;
			this.checkBox_ShowAxis.Location = new System.Drawing.Point(212, 16);
			this.checkBox_ShowAxis.Name = "checkBox_ShowAxis";
			this.checkBox_ShowAxis.Size = new System.Drawing.Size(75, 17);
			this.checkBox_ShowAxis.TabIndex = 35;
			this.checkBox_ShowAxis.Text = "Show Axis";
			this.checkBox_ShowAxis.UseVisualStyleBackColor = true;
			this.textBox_AxisTitleColor.Enabled = false;
			this.textBox_AxisTitleColor.Location = new System.Drawing.Point(102, 90);
			this.textBox_AxisTitleColor.Name = "textBox_AxisTitleColor";
			this.textBox_AxisTitleColor.Size = new System.Drawing.Size(86, 20);
			this.textBox_AxisTitleColor.TabIndex = 34;
			this.button_AxisTitleColor.Location = new System.Drawing.Point(195, 88);
			this.button_AxisTitleColor.Name = "button_AxisTitleColor";
			this.button_AxisTitleColor.Size = new System.Drawing.Size(23, 25);
			this.button_AxisTitleColor.TabIndex = 33;
			this.button_AxisTitleColor.Text = "...";
			this.button_AxisTitleColor.UseVisualStyleBackColor = true;
			this.button_AxisTitleColor.Click += new System.EventHandler(button_AxisTitleColor_Click);
			this.label22.AutoSize = true;
			this.label22.Location = new System.Drawing.Point(12, 93);
			this.label22.Name = "label22";
			this.label22.Size = new System.Drawing.Size(76, 13);
			this.label22.TabIndex = 32;
			this.label22.Text = "Axis Title Color";
			this.textBox_AxisTitleFont.Enabled = false;
			this.textBox_AxisTitleFont.Location = new System.Drawing.Point(103, 64);
			this.textBox_AxisTitleFont.Name = "textBox_AxisTitleFont";
			this.textBox_AxisTitleFont.Size = new System.Drawing.Size(86, 20);
			this.textBox_AxisTitleFont.TabIndex = 31;
			this.button_AxisTitleFont.Location = new System.Drawing.Point(195, 62);
			this.button_AxisTitleFont.Name = "button_AxisTitleFont";
			this.button_AxisTitleFont.Size = new System.Drawing.Size(23, 25);
			this.button_AxisTitleFont.TabIndex = 30;
			this.button_AxisTitleFont.Text = "...";
			this.button_AxisTitleFont.UseVisualStyleBackColor = true;
			this.button_AxisTitleFont.Click += new System.EventHandler(button_AxisTitleFont_Click);
			this.label21.AutoSize = true;
			this.label21.Location = new System.Drawing.Point(13, 67);
			this.label21.Name = "label21";
			this.label21.Size = new System.Drawing.Size(73, 13);
			this.label21.TabIndex = 29;
			this.label21.Text = "Axis Title Font";
			this.label4.AutoSize = true;
			this.label4.Location = new System.Drawing.Point(13, 41);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(27, 13);
			this.label4.TabIndex = 28;
			this.label4.Text = "Title";
			this.textBox_AxisTitle.Location = new System.Drawing.Point(54, 38);
			this.textBox_AxisTitle.Name = "textBox_AxisTitle";
			this.textBox_AxisTitle.Size = new System.Drawing.Size(134, 20);
			this.textBox_AxisTitle.TabIndex = 27;
			this.label3.AutoSize = true;
			this.label3.Location = new System.Drawing.Point(13, 16);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(26, 13);
			this.label3.TabIndex = 26;
			this.label3.Text = "Axis";
			this.comboBox_AxisList.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox_AxisList.FormattingEnabled = true;
			this.comboBox_AxisList.Location = new System.Drawing.Point(54, 11);
			this.comboBox_AxisList.Name = "comboBox_AxisList";
			this.comboBox_AxisList.Size = new System.Drawing.Size(134, 21);
			this.comboBox_AxisList.TabIndex = 25;
			this.comboBox_AxisList.SelectedIndexChanged += new System.EventHandler(comboBox_AxisList_SelectedIndexChanged);
			this.tabPage2.Controls.Add(this.cmbXDisplayType);
			this.tabPage2.Controls.Add(this.unitFormat);
			this.tabPage2.Controls.Add(this.checkBox_ScaleLogarithmic);
			this.tabPage2.Controls.Add(this.decimals);
			this.tabPage2.Controls.Add(this.checkBox_ShowMinorGridLine);
			this.tabPage2.Controls.Add(this.checkBox_ShowMajorGridLine);
			this.tabPage2.Controls.Add(this.label28);
			this.tabPage2.Controls.Add(this.textBox_MinorUnit);
			this.tabPage2.Controls.Add(this.label27);
			this.tabPage2.Controls.Add(this.textBox_MajorUnit);
			this.tabPage2.Controls.Add(this.comboBox_ScaleFormat);
			this.tabPage2.Controls.Add(this.label26);
			this.tabPage2.Controls.Add(this.label25);
			this.tabPage2.Controls.Add(this.label24);
			this.tabPage2.Controls.Add(this.textBox_ScaleUnit);
			this.tabPage2.Controls.Add(this.label23);
			this.tabPage2.Controls.Add(this.textBox_ScaleMaximum);
			this.tabPage2.Controls.Add(this.label_AxisScale);
			this.tabPage2.Controls.Add(this.label8);
			this.tabPage2.Controls.Add(this.textBox_ScaleMinimum);
			this.tabPage2.Location = new System.Drawing.Point(4, 22);
			this.tabPage2.Name = "tabPage2";
			this.tabPage2.Padding = new System.Windows.Forms.Padding(3);
			this.tabPage2.Size = new System.Drawing.Size(392, 262);
			this.tabPage2.TabIndex = 1;
			this.tabPage2.Text = "Scale";
			this.tabPage2.UseVisualStyleBackColor = true;
			this.cmbXDisplayType.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.cmbXDisplayType.FormattingEnabled = true;
			this.cmbXDisplayType.Items.AddRange(new object[2] { "Scientific", "Standard" });
			this.cmbXDisplayType.Location = new System.Drawing.Point(109, 184);
			this.cmbXDisplayType.Name = "cmbXDisplayType";
			this.cmbXDisplayType.Size = new System.Drawing.Size(104, 21);
			this.cmbXDisplayType.TabIndex = 55;
			this.propertyToolTip.SetToolTip(this.cmbXDisplayType, "Select \"Scientific\" to display units in 10^ or \"Standard\" to display units as is.");
			this.cmbXDisplayType.SelectedIndexChanged += new System.EventHandler(cmbXDisplayType_SelectedIndexChanged);
			this.unitFormat.AutoSize = true;
			this.unitFormat.Location = new System.Drawing.Point(5, 187);
			this.unitFormat.Name = "unitFormat";
			this.unitFormat.Size = new System.Drawing.Size(98, 13);
			this.unitFormat.TabIndex = 52;
			this.unitFormat.Text = "Unit Display Format";
			this.checkBox_ScaleLogarithmic.AutoSize = true;
			this.checkBox_ScaleLogarithmic.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.checkBox_ScaleLogarithmic.Location = new System.Drawing.Point(6, 230);
			this.checkBox_ScaleLogarithmic.Name = "checkBox_ScaleLogarithmic";
			this.checkBox_ScaleLogarithmic.Size = new System.Drawing.Size(80, 17);
			this.checkBox_ScaleLogarithmic.TabIndex = 51;
			this.checkBox_ScaleLogarithmic.Text = "Logarithmic";
			this.checkBox_ScaleLogarithmic.UseVisualStyleBackColor = true;
			this.checkBox_ScaleLogarithmic.Visible = false;
			this.decimals.Location = new System.Drawing.Point(74, 142);
			this.decimals.Name = "decimals";
			this.decimals.Size = new System.Drawing.Size(104, 20);
			this.decimals.TabIndex = 50;
			this.decimals.Text = "4";
			this.propertyToolTip.SetToolTip(this.decimals, "Set the number of decimal places for the axis units.");
			this.checkBox_ShowMinorGridLine.AutoSize = true;
			this.checkBox_ShowMinorGridLine.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.checkBox_ShowMinorGridLine.Location = new System.Drawing.Point(126, 230);
			this.checkBox_ShowMinorGridLine.Name = "checkBox_ShowMinorGridLine";
			this.checkBox_ShowMinorGridLine.Size = new System.Drawing.Size(118, 17);
			this.checkBox_ShowMinorGridLine.TabIndex = 49;
			this.checkBox_ShowMinorGridLine.Text = "Show Minor gridline";
			this.propertyToolTip.SetToolTip(this.checkBox_ShowMinorGridLine, "Axis: Show minor grid line.");
			this.checkBox_ShowMinorGridLine.UseVisualStyleBackColor = true;
			this.checkBox_ShowMajorGridLine.AutoSize = true;
			this.checkBox_ShowMajorGridLine.CheckAlign = System.Drawing.ContentAlignment.MiddleRight;
			this.checkBox_ShowMajorGridLine.Location = new System.Drawing.Point(262, 230);
			this.checkBox_ShowMajorGridLine.Name = "checkBox_ShowMajorGridLine";
			this.checkBox_ShowMajorGridLine.Size = new System.Drawing.Size(118, 17);
			this.checkBox_ShowMajorGridLine.TabIndex = 48;
			this.checkBox_ShowMajorGridLine.Text = "Show Major gridline";
			this.propertyToolTip.SetToolTip(this.checkBox_ShowMajorGridLine, "Axis:Show major grid line");
			this.checkBox_ShowMajorGridLine.UseVisualStyleBackColor = true;
			this.label28.AutoSize = true;
			this.label28.Location = new System.Drawing.Point(5, 108);
			this.label28.Name = "label28";
			this.label28.Size = new System.Drawing.Size(55, 13);
			this.label28.TabIndex = 47;
			this.label28.Text = "Minor Unit";
			this.propertyToolTip.SetToolTip(this.label28, "Axis: Sets Minor step size for this Scale (the spacing between minor tics). ");
			this.textBox_MinorUnit.Location = new System.Drawing.Point(74, 108);
			this.textBox_MinorUnit.Name = "textBox_MinorUnit";
			this.textBox_MinorUnit.Size = new System.Drawing.Size(104, 20);
			this.textBox_MinorUnit.TabIndex = 46;
			this.propertyToolTip.SetToolTip(this.textBox_MinorUnit, "Axis: Sets Minor step size for this Scale (the spacing between minor tics). ");
			this.textBox_MinorUnit.Leave += new System.EventHandler(textBox_MinorUnit_Leave);
			this.textBox_MinorUnit.KeyUp += new System.Windows.Forms.KeyEventHandler(textBox_MinorUnit_KeyUp);
			this.textBox_MinorUnit.Enter += new System.EventHandler(textBox_MinorUnit_Enter);
			this.label27.AutoSize = true;
			this.label27.Location = new System.Drawing.Point(193, 111);
			this.label27.Name = "label27";
			this.label27.Size = new System.Drawing.Size(55, 13);
			this.label27.TabIndex = 45;
			this.label27.Text = "Major Unit";
			this.propertyToolTip.SetToolTip(this.label27, "Axis: Sets Major step size for this Scale (the spacing between major tics). ");
			this.textBox_MajorUnit.Location = new System.Drawing.Point(262, 108);
			this.textBox_MajorUnit.Name = "textBox_MajorUnit";
			this.textBox_MajorUnit.Size = new System.Drawing.Size(104, 20);
			this.textBox_MajorUnit.TabIndex = 44;
			this.propertyToolTip.SetToolTip(this.textBox_MajorUnit, "Axis: Sets Major step size for this Scale (the spacing between major tics). ");
			this.textBox_MajorUnit.Leave += new System.EventHandler(textBox_MajorUnit_Leave);
			this.textBox_MajorUnit.KeyUp += new System.Windows.Forms.KeyEventHandler(textBox_MajorUnit_KeyUp);
			this.textBox_MajorUnit.Enter += new System.EventHandler(textBox_MajorUnit_Enter);
			this.comboBox_ScaleFormat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboBox_ScaleFormat.FormattingEnabled = true;
			this.comboBox_ScaleFormat.Location = new System.Drawing.Point(74, 36);
			this.comboBox_ScaleFormat.Name = "comboBox_ScaleFormat";
			this.comboBox_ScaleFormat.Size = new System.Drawing.Size(104, 21);
			this.comboBox_ScaleFormat.TabIndex = 42;
			this.label26.AutoSize = true;
			this.label26.Location = new System.Drawing.Point(6, 145);
			this.label26.Name = "label26";
			this.label26.Size = new System.Drawing.Size(50, 13);
			this.label26.TabIndex = 39;
			this.label26.Text = "Decimals";
			this.label25.AutoSize = true;
			this.label25.Location = new System.Drawing.Point(5, 40);
			this.label25.Name = "label25";
			this.label25.Size = new System.Drawing.Size(63, 13);
			this.label25.TabIndex = 37;
			this.label25.Text = "Graph Type";
			this.label24.AutoSize = true;
			this.label24.Location = new System.Drawing.Point(193, 40);
			this.label24.Name = "label24";
			this.label24.Size = new System.Drawing.Size(56, 13);
			this.label24.TabIndex = 35;
			this.label24.Text = "Scale Unit";
			this.textBox_ScaleUnit.Location = new System.Drawing.Point(262, 36);
			this.textBox_ScaleUnit.Name = "textBox_ScaleUnit";
			this.textBox_ScaleUnit.ReadOnly = true;
			this.textBox_ScaleUnit.Size = new System.Drawing.Size(104, 20);
			this.textBox_ScaleUnit.TabIndex = 34;
			this.label23.AutoSize = true;
			this.label23.Location = new System.Drawing.Point(193, 77);
			this.label23.Name = "label23";
			this.label23.Size = new System.Drawing.Size(51, 13);
			this.label23.TabIndex = 33;
			this.label23.Text = "Maximum";
			this.propertyToolTip.SetToolTip(this.label23, "Axis: Sets the maximum(Max) scale value for this Axis");
			this.textBox_ScaleMaximum.Location = new System.Drawing.Point(262, 73);
			this.textBox_ScaleMaximum.Name = "textBox_ScaleMaximum";
			this.textBox_ScaleMaximum.Size = new System.Drawing.Size(104, 20);
			this.textBox_ScaleMaximum.TabIndex = 32;
			this.propertyToolTip.SetToolTip(this.textBox_ScaleMaximum, "Axis: Sets the maximum(Max) scale value for this Axis");
			this.textBox_ScaleMaximum.Leave += new System.EventHandler(textBox_ScaleMaximum_Leave);
			this.textBox_ScaleMaximum.KeyUp += new System.Windows.Forms.KeyEventHandler(textBox_ScaleMaximum_KeyUp);
			this.textBox_ScaleMaximum.Enter += new System.EventHandler(textBox_ScaleMaximum_Enter);
			this.label_AxisScale.AutoSize = true;
			this.label_AxisScale.Font = new System.Drawing.Font("Microsoft Sans Serif", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0);
			this.label_AxisScale.Location = new System.Drawing.Point(173, 8);
			this.label_AxisScale.Name = "label_AxisScale";
			this.label_AxisScale.Size = new System.Drawing.Size(29, 15);
			this.label_AxisScale.TabIndex = 31;
			this.label_AxisScale.Text = "Axis";
			this.label8.AutoSize = true;
			this.label8.Location = new System.Drawing.Point(5, 77);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(48, 13);
			this.label8.TabIndex = 30;
			this.label8.Text = "Minimum";
			this.propertyToolTip.SetToolTip(this.label8, "Axis: Sets the minimum (Min) scale value for this Axis");
			this.textBox_ScaleMinimum.Location = new System.Drawing.Point(74, 73);
			this.textBox_ScaleMinimum.Name = "textBox_ScaleMinimum";
			this.textBox_ScaleMinimum.Size = new System.Drawing.Size(104, 20);
			this.textBox_ScaleMinimum.TabIndex = 29;
			this.propertyToolTip.SetToolTip(this.textBox_ScaleMinimum, "Axis: Sets the minimum (Min) scale value for this Axis");
			this.textBox_ScaleMinimum.Leave += new System.EventHandler(textBox_ScaleMinimum_Leave);
			this.textBox_ScaleMinimum.KeyUp += new System.Windows.Forms.KeyEventHandler(textBox_ScaleMinimum_KeyUp);
			this.textBox_ScaleMinimum.Enter += new System.EventHandler(textBox_ScaleMinimum_Enter);
			this.tabPage4.Controls.Add(this.groupBox3);
			this.tabPage4.Controls.Add(this.groupBox2);
			this.tabPage4.Location = new System.Drawing.Point(4, 22);
			this.tabPage4.Name = "tabPage4";
			this.tabPage4.Size = new System.Drawing.Size(392, 262);
			this.tabPage4.TabIndex = 3;
			this.tabPage4.Text = "Grid Lines";
			this.tabPage4.UseVisualStyleBackColor = true;
			this.groupBox3.Controls.Add(this.numericUpDown_GridLineMinorWidth);
			this.groupBox3.Controls.Add(this.label5);
			this.groupBox3.Controls.Add(this.textBox_GridLineMinorColor);
			this.groupBox3.Controls.Add(this.button_GridLineMinorColor);
			this.groupBox3.Controls.Add(this.label29);
			this.groupBox3.Location = new System.Drawing.Point(24, 106);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(344, 86);
			this.groupBox3.TabIndex = 37;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "Minor Grid Line";
			this.numericUpDown_GridLineMinorWidth.Location = new System.Drawing.Point(102, 48);
			this.numericUpDown_GridLineMinorWidth.Maximum = new decimal(new int[4] { 20, 0, 0, 0 });
			this.numericUpDown_GridLineMinorWidth.Name = "numericUpDown_GridLineMinorWidth";
			this.numericUpDown_GridLineMinorWidth.Size = new System.Drawing.Size(56, 20);
			this.numericUpDown_GridLineMinorWidth.TabIndex = 39;
			this.label5.AutoSize = true;
			this.label5.Location = new System.Drawing.Point(12, 55);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(80, 13);
			this.label5.TabIndex = 38;
			this.label5.Text = "Grid Line Width";
			this.textBox_GridLineMinorColor.Enabled = false;
			this.textBox_GridLineMinorColor.Location = new System.Drawing.Point(102, 21);
			this.textBox_GridLineMinorColor.Name = "textBox_GridLineMinorColor";
			this.textBox_GridLineMinorColor.Size = new System.Drawing.Size(86, 20);
			this.textBox_GridLineMinorColor.TabIndex = 37;
			this.button_GridLineMinorColor.Location = new System.Drawing.Point(195, 19);
			this.button_GridLineMinorColor.Name = "button_GridLineMinorColor";
			this.button_GridLineMinorColor.Size = new System.Drawing.Size(23, 25);
			this.button_GridLineMinorColor.TabIndex = 36;
			this.button_GridLineMinorColor.Text = "...";
			this.button_GridLineMinorColor.UseVisualStyleBackColor = true;
			this.button_GridLineMinorColor.Click += new System.EventHandler(button_GridLineMinorColor_Click);
			this.label29.AutoSize = true;
			this.label29.Location = new System.Drawing.Point(12, 24);
			this.label29.Name = "label29";
			this.label29.Size = new System.Drawing.Size(76, 13);
			this.label29.TabIndex = 35;
			this.label29.Text = "Grid Line Color";
			this.groupBox2.Controls.Add(this.numericUpDown_GridLineMajorWidth);
			this.groupBox2.Controls.Add(this.label7);
			this.groupBox2.Controls.Add(this.textBox_GridLineMajorColor);
			this.groupBox2.Controls.Add(this.button_GridLineMajorColor);
			this.groupBox2.Controls.Add(this.label6);
			this.groupBox2.Location = new System.Drawing.Point(24, 14);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(344, 86);
			this.groupBox2.TabIndex = 36;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "Major Grid Line";
			this.numericUpDown_GridLineMajorWidth.Location = new System.Drawing.Point(102, 48);
			this.numericUpDown_GridLineMajorWidth.Maximum = new decimal(new int[4] { 20, 0, 0, 0 });
			this.numericUpDown_GridLineMajorWidth.Name = "numericUpDown_GridLineMajorWidth";
			this.numericUpDown_GridLineMajorWidth.Size = new System.Drawing.Size(56, 20);
			this.numericUpDown_GridLineMajorWidth.TabIndex = 39;
			this.label7.AutoSize = true;
			this.label7.Location = new System.Drawing.Point(12, 55);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(80, 13);
			this.label7.TabIndex = 38;
			this.label7.Text = "Grid Line Width";
			this.textBox_GridLineMajorColor.Enabled = false;
			this.textBox_GridLineMajorColor.Location = new System.Drawing.Point(102, 21);
			this.textBox_GridLineMajorColor.Name = "textBox_GridLineMajorColor";
			this.textBox_GridLineMajorColor.Size = new System.Drawing.Size(86, 20);
			this.textBox_GridLineMajorColor.TabIndex = 37;
			this.button_GridLineMajorColor.Location = new System.Drawing.Point(195, 19);
			this.button_GridLineMajorColor.Name = "button_GridLineMajorColor";
			this.button_GridLineMajorColor.Size = new System.Drawing.Size(23, 25);
			this.button_GridLineMajorColor.TabIndex = 36;
			this.button_GridLineMajorColor.Text = "...";
			this.button_GridLineMajorColor.UseVisualStyleBackColor = true;
			this.button_GridLineMajorColor.Click += new System.EventHandler(button_GridLineMajorColor_Click);
			this.label6.AutoSize = true;
			this.label6.Location = new System.Drawing.Point(12, 24);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(76, 13);
			this.label6.TabIndex = 35;
			this.label6.Text = "Grid Line Color";
			this.button_OK.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.button_OK.Location = new System.Drawing.Point(200, 334);
			this.button_OK.Name = "button_OK";
			this.button_OK.Size = new System.Drawing.Size(73, 28);
			this.button_OK.TabIndex = 1;
			this.button_OK.Text = "OK";
			this.button_OK.UseVisualStyleBackColor = true;
			this.button_OK.Click += new System.EventHandler(button_OK_Click);
			this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.button_Cancel.Location = new System.Drawing.Point(279, 334);
			this.button_Cancel.Name = "button_Cancel";
			this.button_Cancel.Size = new System.Drawing.Size(73, 28);
			this.button_Cancel.TabIndex = 2;
			this.button_Cancel.Text = "Cancel";
			this.button_Cancel.UseVisualStyleBackColor = true;
			this.button_Apply.Location = new System.Drawing.Point(354, 334);
			this.button_Apply.Name = "button_Apply";
			this.button_Apply.Size = new System.Drawing.Size(73, 28);
			this.button_Apply.TabIndex = 3;
			this.button_Apply.Text = "Apply";
			this.button_Apply.UseVisualStyleBackColor = true;
			this.button_Apply.Click += new System.EventHandler(button_Apply_Click);
			this.textBox5.Enabled = false;
			this.textBox5.Location = new System.Drawing.Point(116, 183);
			this.textBox5.Name = "textBox5";
			this.textBox5.Size = new System.Drawing.Size(132, 20);
			this.textBox5.TabIndex = 13;
			this.button4.Location = new System.Drawing.Point(254, 180);
			this.button4.Name = "button4";
			this.button4.Size = new System.Drawing.Size(23, 25);
			this.button4.TabIndex = 14;
			this.button4.Text = "...";
			this.button4.UseVisualStyleBackColor = true;
			this.textBox6.Enabled = false;
			this.textBox6.Location = new System.Drawing.Point(116, 151);
			this.textBox6.Name = "textBox6";
			this.textBox6.Size = new System.Drawing.Size(132, 20);
			this.textBox6.TabIndex = 12;
			this.button5.Location = new System.Drawing.Point(254, 149);
			this.button5.Name = "button5";
			this.button5.Size = new System.Drawing.Size(23, 25);
			this.button5.TabIndex = 11;
			this.button5.Text = "...";
			this.button5.UseVisualStyleBackColor = true;
			this.label9.AutoSize = true;
			this.label9.Location = new System.Drawing.Point(26, 186);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(87, 13);
			this.label9.TabIndex = 10;
			this.label9.Text = "Axis Labels Color";
			this.label10.AutoSize = true;
			this.label10.Location = new System.Drawing.Point(26, 154);
			this.label10.Name = "label10";
			this.label10.Size = new System.Drawing.Size(84, 13);
			this.label10.TabIndex = 9;
			this.label10.Text = "Axis Labels Font";
			this.comboBox2.FormattingEnabled = true;
			this.comboBox2.Location = new System.Drawing.Point(93, 117);
			this.comboBox2.Name = "comboBox2";
			this.comboBox2.Size = new System.Drawing.Size(155, 21);
			this.comboBox2.TabIndex = 8;
			this.label11.AutoSize = true;
			this.label11.Location = new System.Drawing.Point(26, 120);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(52, 13);
			this.label11.TabIndex = 7;
			this.label11.Text = "Grid Style";
			this.checkBox2.AutoSize = true;
			this.checkBox2.Location = new System.Drawing.Point(93, 87);
			this.checkBox2.Name = "checkBox2";
			this.checkBox2.Size = new System.Drawing.Size(98, 17);
			this.checkBox2.TabIndex = 6;
			this.checkBox2.Text = "Show Grid Line";
			this.checkBox2.UseVisualStyleBackColor = true;
			this.label12.AutoSize = true;
			this.label12.Location = new System.Drawing.Point(26, 88);
			this.label12.Name = "label12";
			this.label12.Size = new System.Drawing.Size(49, 13);
			this.label12.TabIndex = 5;
			this.label12.Text = "Grid Line";
			this.label13.AutoSize = true;
			this.label13.Location = new System.Drawing.Point(26, 57);
			this.label13.Name = "label13";
			this.label13.Size = new System.Drawing.Size(27, 13);
			this.label13.TabIndex = 4;
			this.label13.Text = "Title";
			this.textBox7.Location = new System.Drawing.Point(68, 54);
			this.textBox7.Name = "textBox7";
			this.textBox7.Size = new System.Drawing.Size(180, 20);
			this.textBox7.TabIndex = 3;
			this.label14.AutoSize = true;
			this.label14.Location = new System.Drawing.Point(26, 23);
			this.label14.Name = "label14";
			this.label14.Size = new System.Drawing.Size(30, 13);
			this.label14.TabIndex = 2;
			this.label14.Text = "Axes";
			this.comboBox3.FormattingEnabled = true;
			this.comboBox3.Location = new System.Drawing.Point(68, 18);
			this.comboBox3.Name = "comboBox3";
			this.comboBox3.Size = new System.Drawing.Size(180, 21);
			this.comboBox3.TabIndex = 1;
			this.textBox8.Enabled = false;
			this.textBox8.Location = new System.Drawing.Point(116, 183);
			this.textBox8.Name = "textBox8";
			this.textBox8.Size = new System.Drawing.Size(132, 20);
			this.textBox8.TabIndex = 13;
			this.button6.Location = new System.Drawing.Point(254, 180);
			this.button6.Name = "button6";
			this.button6.Size = new System.Drawing.Size(23, 25);
			this.button6.TabIndex = 14;
			this.button6.Text = "...";
			this.button6.UseVisualStyleBackColor = true;
			this.textBox9.Enabled = false;
			this.textBox9.Location = new System.Drawing.Point(116, 151);
			this.textBox9.Name = "textBox9";
			this.textBox9.Size = new System.Drawing.Size(132, 20);
			this.textBox9.TabIndex = 12;
			this.button7.Location = new System.Drawing.Point(254, 149);
			this.button7.Name = "button7";
			this.button7.Size = new System.Drawing.Size(23, 25);
			this.button7.TabIndex = 11;
			this.button7.Text = "...";
			this.button7.UseVisualStyleBackColor = true;
			this.label15.AutoSize = true;
			this.label15.Location = new System.Drawing.Point(26, 186);
			this.label15.Name = "label15";
			this.label15.Size = new System.Drawing.Size(87, 13);
			this.label15.TabIndex = 10;
			this.label15.Text = "Axis Labels Color";
			this.label16.AutoSize = true;
			this.label16.Location = new System.Drawing.Point(26, 154);
			this.label16.Name = "label16";
			this.label16.Size = new System.Drawing.Size(84, 13);
			this.label16.TabIndex = 9;
			this.label16.Text = "Axis Labels Font";
			this.comboBox4.FormattingEnabled = true;
			this.comboBox4.Location = new System.Drawing.Point(93, 117);
			this.comboBox4.Name = "comboBox4";
			this.comboBox4.Size = new System.Drawing.Size(155, 21);
			this.comboBox4.TabIndex = 8;
			this.label17.AutoSize = true;
			this.label17.Location = new System.Drawing.Point(26, 120);
			this.label17.Name = "label17";
			this.label17.Size = new System.Drawing.Size(52, 13);
			this.label17.TabIndex = 7;
			this.label17.Text = "Grid Style";
			this.checkBox3.AutoSize = true;
			this.checkBox3.Location = new System.Drawing.Point(93, 87);
			this.checkBox3.Name = "checkBox3";
			this.checkBox3.Size = new System.Drawing.Size(98, 17);
			this.checkBox3.TabIndex = 6;
			this.checkBox3.Text = "Show Grid Line";
			this.checkBox3.UseVisualStyleBackColor = true;
			this.label18.AutoSize = true;
			this.label18.Location = new System.Drawing.Point(26, 88);
			this.label18.Name = "label18";
			this.label18.Size = new System.Drawing.Size(49, 13);
			this.label18.TabIndex = 5;
			this.label18.Text = "Grid Line";
			this.label19.AutoSize = true;
			this.label19.Location = new System.Drawing.Point(26, 57);
			this.label19.Name = "label19";
			this.label19.Size = new System.Drawing.Size(27, 13);
			this.label19.TabIndex = 4;
			this.label19.Text = "Title";
			this.textBox10.Location = new System.Drawing.Point(68, 54);
			this.textBox10.Name = "textBox10";
			this.textBox10.Size = new System.Drawing.Size(180, 20);
			this.textBox10.TabIndex = 3;
			this.label20.AutoSize = true;
			this.label20.Location = new System.Drawing.Point(26, 23);
			this.label20.Name = "label20";
			this.label20.Size = new System.Drawing.Size(30, 13);
			this.label20.TabIndex = 2;
			this.label20.Text = "Axes";
			this.comboBox5.FormattingEnabled = true;
			this.comboBox5.Location = new System.Drawing.Point(68, 18);
			this.comboBox5.Name = "comboBox5";
			this.comboBox5.Size = new System.Drawing.Size(180, 21);
			this.comboBox5.TabIndex = 1;
			this.propertyToolTip.ToolTipIcon = System.Windows.Forms.ToolTipIcon.Info;
			this.propertyToolTip.ToolTipTitle = "Property page";
			base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
			base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
			base.ClientSize = new System.Drawing.Size(433, 374);
			base.Controls.Add(this.button_Apply);
			base.Controls.Add(this.button_Cancel);
			base.Controls.Add(this.button_OK);
			base.Controls.Add(this.tabControl1);
			base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
			base.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
			base.Name = "FormProperty";
			base.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "Chart - Properties";
			base.TopMost = true;
			base.Load += new System.EventHandler(FormProperty_Load);
			this.tabControl1.ResumeLayout(false);
			this.tabPage_Chart.ResumeLayout(false);
			this.groupBox1.ResumeLayout(false);
			this.groupBox1.PerformLayout();
			this.panel3.ResumeLayout(false);
			this.panel3.PerformLayout();
			this.tabPage_Series.ResumeLayout(false);
			this.tabPage_Series.PerformLayout();
			this.tabPage_Axis.ResumeLayout(false);
			this.tabControl2.ResumeLayout(false);
			this.tabPage1.ResumeLayout(false);
			this.tabPage1.PerformLayout();
			this.tabPage2.ResumeLayout(false);
			this.tabPage2.PerformLayout();
			this.tabPage4.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.groupBox3.PerformLayout();
			((System.ComponentModel.ISupportInitialize)this.numericUpDown_GridLineMinorWidth).EndInit();
			this.groupBox2.ResumeLayout(false);
			this.groupBox2.PerformLayout();
			((System.ComponentModel.ISupportInitialize)this.numericUpDown_GridLineMajorWidth).EndInit();
			base.ResumeLayout(false);
		}
	}
}
